var dealers={
  "S": [
    {
      "province": "北京",
      "id": "374",
      "city": [
        {
          "city": "北京",
          "id": "374",
          "business": [
		  
			{
              "business": "大众汽车服务中心(北京)有限公司",
              "id": "378",
              "code":"11001"
            },
			
            {
              "business": "北京华日菱汽车贸易有限公司",
              "id": "374",
              "code":"11002"
            },
			
			{
              "business": "北京中进众旺汽车销售服务有限公司",
              "id": "377",
              "code":"11003"
            },
			
            {
              "business": "北京骏宝捷汽车维修有限公司",
              "id": "375",
              "code":"11507"
            },
            // {
            //   "business": "北京亚之杰合众汽车销售服务有限责任公司",
            //   "id": "376"
            //   "code":"11001"
            // }
            {
              "business": "大众进口汽车尊享荟（北京）",
              "id": "375",
              "code":"12000"
            }
          ]
        }
      ]
    },
    {
      "province": "内蒙",
      "id": "379",
      "city": [
        {
          "city": "呼和浩特",
          "id": "379",
          "business": [
            {
              "business": "内蒙古华菱丰汽车贸易有限公司",
              "id": "379",
              "code":"11017"
            }
          ]
        },
        {
          "city": "包头",
          "id": "380",
          "business": [
            {
              "business": "包头市华日菱汽车贸易有限公司",
              "id": "380",
              "code":"11079"
              
            },
            {
              "business": "包头众锐汽车销售服务有限公司",
              "id": "381",
              "code":"11066"
            }
          ]
        },
        {
          "city": "鄂尔多斯",
          "id": "382",
          "business": [
            {
              "business": "鄂尔多斯市德众鑫汽车销售有限责任公司",
              "id": "382",
              "code":"11018"
            },
            {
              "business": "鄂尔多斯市华菱丰汽车贸易有限责任公司",
              "id": "383",
              "code":"11478"
            },
            {
              "business": "鄂尔多斯市华菱丰汽车贸易有限责任公司东胜区分公司",
              "id": "383",
              "code":"11992"
            }
          ]
        },
        {
          "city": "锡林浩特",
          "id": "382",
          "business": [
            {
              "business": "锡林浩特市华菱丰汽车销售服务有限公司",
              "id": "382",
              "code":"11993"
            }
          ]
        }
        // {
        //   "city": "赤峰",
        //   "id": "384",
        //   "business": [
        //     {
        //       "business": "赤峰庞大兴锐汽车销售服务有限公司",
        //       "id": "384"
        //       "code":"11475"
        //     }
        //   ]
        // }
      ]
    },
    {
      "province": "河北",
      "id": "385",
      "city": [
        {
          "city": "石家庄",
          "id": "385",
          "business": [
            {
              "business": "河北华菱丰汽车贸易有限公司",
              "id": "385",
              "code":"11015"
            },
            {
              "business": "河南国际汽车贸易有限公司石家庄分公司",
              "id": "385",
              "code":"12010"
            }
          ]
        },
        {
          "city": "唐山",
          "id": "386",
          "business": [
			{
              "business": "唐山众腾汽车销售有限公司",
              "id": "387",
              "code":"11016"
            },
			
            {
              "business": "唐山庞大兴锐汽车销售服务有限公司",
              "id": "386",
              "code":"11484"
            }
            
          ]
        },
        {
          "city": "保定",
          "id": "388",
          "business": [
            {
              "business": "保定庞大兴锐汽车销售服务有限公司",
              "id": "388",
              "code":"11488"
            }
          ]
        },
        {
          "city": "邯郸",
          "id": "389",
          "business": [
            {
              "business": "邯郸市庞大兴锐汽车销售服务有限公司",
              "id": "389",
              "code":"11528"
            }
          ]
        }
      ]
    },
    {
      "province": "天津",
      "id": "390",
      "city": [
        {
          "city": "天津",
          "id": "390",
          "business": [
            {
              "business": "天津空港众辉汽车销售有限公司",
              "id": "390",
              "code":"11008"
            },
            {
              "business": "天津市中顺联众汽车服务有限公司",
              "id": "391",
              "code":"11059"
            },
            {
              "business": "大众进口汽车尊享荟（天津）",
              "id": "391",
              "code":"12031"
            }
          ]
        }
      ]
    },
    {
      "province": "辽宁",
      "id": "392",
      "city": [
        {
          "city": "沈阳",
          "id": "392",
          "business": [
            {
              "business": "辽宁川达汽车销售服务有限公司",
              "id": "392",
              "code":"11007"
            },
            {
              "business": "沈阳大昌合众汽车销售服务有限公司",
              "id": "393",
              "code":"11006"
            }
          ]
        },
        {
          "city": "大连",
          "id": "394",
          "business": [
            {
              "business": "大连大昌合众汽车销售服务有限公司",
              "id": "394",
              "code":"11005"
            },
            {
              "business": "大众进口汽车尊享荟（大连）",
              "id": "394",
              "code":"11997"
            }
          ]
        },
        // {
        //   "city": "营口",
        //   "id": "395",
        //   "business": [
        //     {
        //       "business": "营口庞大兴锐汽车销售服务有限公司",
        //       "id": "395"
        //     }
        //   ]
        // }
      ]
    },
    {
      "province": "吉林",
      "id": "396",
      "city": [
        {
          "city": "长春",
          "id": "396",
          "business": [
            {
              "business": "长春大昌合众汽车销售服务有限公司",
              "id": "396",
              "code":"11013"
            },
            {
              "business": "长春尚腾汽车销售服务有限公司",
              "id": "11073"
            }
          ]
        }
      ]
    },
    {
      "province": "黑龙江",
      "id": "398",
      "city": [
        {
          "city": "哈尔滨",
          "id": "398",
          "business": [
            {
              "business": "哈尔滨大昌合众汽车销售服务有限公司",
              "id": "398",
              "code":"11014"
            },
            {
              "business": "哈尔滨尚腾汽车销售服务有限公司",
              "id": "399",
              "code":"11988"
            }
          ]
        }
      ]
    },
    {
      "province": "山西",
      "id": "400",
      "city": [
        {
          "city": "太原",
          "id": "400",
          "business": [
            {
              "business": "大众进口汽车尊享荟（太原）",
              "id": "400",
              "code":"11518"
            },
            {
              "business": "山西华菱丰汽车贸易有限公司",
              "id": "400",
              "code":"11012"
            }
          ]
        },
        {
          "city": "大同",
          "id": "401",
          "business": [
            {
              "business": "大同市华菱丰汽车贸易有限公司",
              "id": "401",
              "code":"11064"
            }
          ]
        }
      ]
    },
    {
      "province": "山东",
      "id": "402",
      "city": [
        {
          "city": "济南",
          "id": "402",
          "business": [
            {
              "business": "济南德辉汽车销售服务有限公司",
              "id": "402",
              "code":"12055"
            },
            {
              "business": "山东百得利汽车销售有限公司",
              "id": "403",
              "code":"11072"
            }
          ]
        },
        {
          "city": "青岛",
          "id": "404",
          "business": [
            {
              "business": "大众进口汽车尊享荟（青岛）",
              "id": "404",
              "code":"11486"
            },
            {
              "business": "青岛德辉汽车销售服务有限公司",
              "id": "404",
              "code":"11962"
            },
            {
              "business": "青岛百得利汽车销售有限公司",
              "id": "405",
              "code":"11039"
            }
          ]
        },
        {
          "city": "烟台",
          "id": "407",
          "business": [
            {
              "business": "烟台德辉汽车销售服务有限公司",
              "id": "407",
              "code":"11038"
            }
          ]
        },
        {
          "city": "潍坊",
          "id": "409",
          "business": [
            {
              "business": "大众进口汽车尊享荟（潍坊）",
              "id": "409",
              "code":"11566"
            },
            {
              "business": "潍坊百得利汽车销售有限公司",
              "id": "409",
              "code":"12022"
            }
          ]
        },
        {
          "city": "临沂",
          "id": "410",
          "business": [
            {
              "business": "临沂万华汽车销售服务有限公司",
              "id": "410",
              "code":"11077"
            }
          ]
        },
        {
          "city": "泰安",
          "id": "406",
          "business": [
            {
              "business": "泰安新德辉汽车销售服务有限公司",
              "id": "406",
              "code":"11011"
            }
          ]
        },
        {
          "city": "威海",
          "id": "406",
          "business": [
            {
              "business": "威海庞大兴锐汽车销售服务有限公司",
              "id": "406",
              "code":"12008"
            }
          ]
        },
        {
          "city": "烟台",
          "id": "406",
          "business": [
            {
              "business": "烟台德辉汽车销售服务有限公司",
              "id": "406",
              "code":"11038"
            }
          ]
        },
        {
          "city": "淄博",
          "id": "408",
          "business": [
            {
              "business": "淄博润之坤汽车销售有限公司",
              "id": "408",
              "code":"11493"
            }
          ]
        }
      ]
    },
    {
      "province": "湖北",
      "id": "411",
      "city": [
        {
          "city": "武汉",
          "id": "411",
          "business": [
            {
              "business": "大众进口汽车尊享荟（武汉）",
              "id": "412",
              "code":"11963"
            },
            {
              "business": "湖北尚腾汽车贸易有限公司",
              "id": "411",
              "code":"12016"
            },
            {
              "business": "武汉锐腾汽车贸易服务有限公司",
              "id": "412",
              "code":"11037"
            }
          ]
        }
      ]
    },
    {
      "province": "河南",
      "id": "413",
      "city": [
        {
          "city": "安阳",
          "id": "413",
          "business": [
            {
              "business": "安阳汉威汽车贸易有限公司",
              "id": "413",
              "code":"11360"
            }
          ]
        },
        {
          "city": "商丘",
          "id": "413",
          "business": [
            {
              "business": "大众进口汽车尊享荟（商丘）",
              "id": "413",
              "code":"11041"
            }
          ]
        },
        {
          "city": "郑州",
          "id": "413",
          "business": [
            {
              "business": "河南国际汽车贸易有限公司",
              "id": "413",
              "code":"12002"
            },
            {
              "business": "河南中豫汽车贸易有限公司",
              "id": "414",
              "code":"11040"
            }
          ]
        },
        {
          "city": "平顶山",
          "id": "415",
          "business": [
            {
              "business": "河南中豫汽车贸易有限公司平顶山分公司",
              "id": "415",
              "code":"11071"
            }
          ]
        },
        {
          "city": "新乡",
          "id": "415",
          "business": [
            {
              "business": "河南中豫汽车贸易有限公司新乡分公司",
              "id": "415",
              "code":"11998"
            }
          ]
        },
        {
          "city": "洛阳",
          "id": "415",
          "business": [
            {
              "business": "洛阳中豫汽车贸易有限公司",
              "id": "415",
              "code":"11888"
            }
          ]
        }
      ]
    },
    {
      "province": "上海",
      "id": "416",
      "city": [
        {
          "city": "上海",
          "id": "416",
          "business": [
            {
              "business": "上海腾众汽车销售服务有限公司",
              "id": "416",
              "code":"11058"
            },
            {
              "business": "上海中进众旺汽车销售服务有限公司",
              "id": "417",
              "code":"11480"
            },
            {
              "business": "太古汽车销售服务(上海)有限公司",
              "id": "418",
              "code":"11886"
            },
            {
              "business": "上海铂众汽车销售服务有限公司",
              "id": "419",
              "code":"11010"
            },
            {
              "business": "大众进口汽车尊享荟(上海浦西)",
              "id": "1419",
              "code":"11492"
            }
          ]
        }
      ]
    },
    {
      "province": "安徽",
      "id": "420",
      "city": [
        {
          "city": "合肥",
          "id": "420",
          "business": [
            {
              "business": "安徽风之星汽车股份有限公司",
              "id": "420",
              "code":"11009"
            }
          ]
        },
        {
          "city": "芜湖",
          "id": "421",
          "business": [
            {
              "business": "芜湖风之星汽车服务有限公司",
              "id": "421",
              "code":"11043"
            }
          ]
        }
      ]
    },
    {
      "province": "浙江",
      "id": "422",
      "city": [
        {
          "city": "杭州",
          "id": "422",
          "business": [
            {
              "business": "杭州百得利汽车有限公司",
              "id": "422",
              "code":"11065"
            },
            {
              "business": "浙江元通捷通汽车有限公司",
              "id": "423",
              "code":"11499"
            },
            {
              "business": "浙江捷通汽车有限公司",
              "id": "424",
              "code":"11028"
            }
          ]
        },
        {
          "city": "宁波",
          "id": "425",
          "business": [
            {
              "business": "宁波中进众旺汽车销售服务有限公司",
              "id": "425",
              "code":"11062"
            },
            {
              "business": "宁波众通汽车有限公司",
              "id": "426",
              "code":"11031"
            }
          ]
        },
        {
          "city": "温州",
          "id": "427",
          "business": [
            {
              "business": "温州之远汽车有限公司",
              "id": "427",
              "code":"11031"
            }
          ]
        },
        {
          "city": "义乌",
          "id": "428",
          "business": [
            {
              "business": "义乌恒众汽车销售服务有限公司",
              "id": "428",
              "code":"11030"
            }
          ]
        },
        {
          "city": "台州",
          "id": "429",
          "business": [
            {
              "business": "台州德业汽车有限公司",
              "id": "429",
              "code":"11479"
            },
            {
              "business": "台州旅行者汽车销售服务有限公司",
              "id": "430",
              "code":"11029"
            }
          ]
        },
        {
          "city": "嘉兴",
          "id": "431",
          "business": [
            {
              "business": "嘉兴禾众睿德汽车销售服务有限公司",
              "id": "431",
              "code":"11052"
            }
          ]
        },
       
        {
          "city": "慈溪",
          "id": "433",
          "business": [
            {
              "business": "慈溪康桥海之众汽车销售服务有限公司",
              "id": "433",
              "code":"11476"
            }
          ]
        },
        {
          "city": "湖州",
          "id": "434",
          "business": [
            {
              "business": "湖州禾众誉德汽车销售服务有限公司",
              "id": "434",
              "code":"11497"
            }
          ]
        }
      ]
    },
    {
      "province": "江苏",
      "id": "435",
      "city": [
        {
          "city": "南京",
          "id": "435",
          "business": [
            {
              "business": "南京百得利汽车销售有限公司",
              "id": "435",
              "code":"11577"
            },
            {
              "business": "南京交家电车辆有限公司",
              "id": "436",
              "code":"11032"
            },
            {
              "business": "南京景众汽车销售服务有限公司",
              "id": "437",
              "code":"11033"
            }
          ]
        },
        {
          "city": "无锡",
          "id": "438",
          "business": [
            {
              "business": "无锡金阊众翔汽车销售服务有限公司",
              "id": "438",
              "code":"11466"
            },
            {
              "business": "无锡腾众汽车销售服务有限公司",
              "id": "439",
              "code":"11035"
            },
            {
              "business": "无锡新丰泰汽车有限责任公司",
              "id": "451",
              "code":"12047"
            }
          ]
        },
        {
          "city": "苏州",
          "id": "440",
          "business": [
            {
              "business": "苏州捷骏汽车贸易有限公司 ",
              "id": "440",
              "code":"11346"
            },
            {
              "business": "苏州市金阊众翔汽车销售服务有限公司",
              "id": "441",
              "code":"11034"
            },
            {
              "business": "苏州新丰泰汽车销售服务有限公司",
              "id": "442",
              "code":"11468"
            }
          ]
        },
        {
          "city": "扬州",
          "id": "443",
          "business": [
            {
              "business": "扬州新丰泰汽车有限责任公司",
              "id": "443",
              "code":"11078"
            }
          ]
        },
        {
          "city": "常州",
          "id": "444",
          "business": [
            {
              "business": "常州德立汽车销售服务有限公司",
              "id": "444",
              "code":"11036"
            },
            {
              "business": "常州德尊汽车销售服务有限公司",
              "id": "445",
              "code":"12014"
            }
          ]
        },
        {
          "city": "江阴",
          "id": "446",
          "business": [
            {
              "business": "江阴中进众旺汽车销售服务有限公司",
              "id": "446",
              "code":"11347"
            }
          ]
        },
        {
          "city": "南通",
          "id": "447",
          "business": [
            {
              "business": "南通德立汽车销售服务有限公司",
              "id": "447",
              "code":"11056"
            }
          ]
        },
        {
          "city": "盐城",
          "id": "448",
          "business": [
            {
              "business": "森风集团盐城善德汽车有限公司",
              "id": "448",
              "code":"11527"
            }
          ]
        },
        {
          "city": "泰州",
          "id": "449",
          "business": [
            {
              "business": "泰州德立汽车销售服务有限公司",
              "id": "449",
              "code":"11474"
            }
          ]
        },
        {
          "city": "镇江",
          "id": "450",
          "business": [
            {
              "business": "镇江德立汽车销售服务有限公司",
              "id": "450",
              "code":"11469"
            }
          ]
        },
        {
          "city": "徐州",
          "id": "452",
          "business": [
            {
              "business": "徐州润腾汽车销售服务有限公司",
              "id": "452",
              "code":"11495"
            }
          ]
        }
      ]
    },
    {
      "province": "广东",
      "id": "453",
      "city": [
        {
          "city": "广州",
          "id": "453",
          "business": [
            {
              "business": "大众进口汽车尊享荟（广州）",
              "id": "454",
              "code":"11883"
            },
            {
              "business": "广东乘用汽车销售有限公司",
              "id": "453",
              "code":"11021"
            },
            {
              "business": "广州鸿粤鸿众汽车销售服务有限公司",
              "id": "454",
              "code":"11054"
            }
          ]
        },
        {
          "city": "深圳",
          "id": "455",
          "business": [
            {
              "business": "深圳市德鹏进口汽车销售有限公司",
              "id": "455",
              "code":"11489"
            },
            {
              "business": "深圳市华熙汽车销售服务有限公司",
              "id": "456",
              "code":"11019"
            },
            {
              "business": "深圳市华熙汽车销售服务有限公司福田分公司",
              "id": "456",
              "code":"12040"
            },
            {
              "business": "深圳市立众汽车销售服务有限公司",
              "id": "457",
              "code":"11491"
            },
            {
              "business": "深圳市鹏城华熙汽车销售服务有限公司",
              "id": "457",
              "code":"12058"
            }
          ]
        },
        {
          "city": "佛山",
          "id": "458",
          "business": [
            {
              "business": "佛山正通众锐汽车销售服务有限公司",
              "id": "458",
              "code":"11076"
            }
            // {
            //   "business": "广东鸿粤鸿众汽车销售服务有限公司",
            //   "id": "476"
            // }
          ]
        },
        {
          "city": "东莞",
          "id": "459",
          "business": [
            {
              "business": "东莞市宝瑞汽车销售服务有限公司",
              "id": "459",
              "code":"11341"
            },
            {
              "business": "东莞市华熙汽车销售有限公司",
              "id": "460",
              "code":"11020"
            }
          ]
        },
        {
          "city": "中山",
          "id": "461",
          "business": [
            {
              "business": "中山市德熙进口汽车销售服务有限公司",
              "id": "461",
              "code":"11055"
            }
          ]
        },
        {
          "city": "珠海",
          "id": "462",
          "business": [
            {
              "business": "珠海市华熙汽车销售服务有限公司",
              "id": "462",
              "code":"11086"
            }
          ]
        },
        {
          "city": "惠州",
          "id": "463",
          "business": [
            {
              "business": "惠州市德意进口汽车销售服务有限公司",
              "id": "463",
              "code":"11070"
            }
          ]
        },
        {
          "city": "汕头",
          "id": "464",
          "business": [
            {
              "business": "汕头市众驰汽车有限公司",
              "id": "464",
              "code":"11069"
            }
          ]
        }
      ]
    },
    {
      "province": "福建",
      "id": "465",
      "city": [
        {
          "city": "福州",
          "id": "465",
          "business": [
            // {
            //   "business": "太古汽车销售服务（福州）有限公司",
            //   "id": "465"
            // },
            {
              "business": "福建盈众润达汽车销售有限公司",
              "id": "466",
              "code":"11023"
            }
          ]
        },
        {
          "city": "厦门",
          "id": "467",
          "business": [
            {
              "business": "厦门众骋汽车有限公司(原厦门建发)",
              "id": "467",
              "code":"11022"
            },
            {
              "business": "厦门盈众润宇汽车销售有限公司",
              "id": "468",
              "code":"11060"
            }
          ]
        },
        {
          "city": "泉州",
          "id": "469",
          "business": [
            {
              "business": "泉州盈众润和汽车销售有限公司",
              "id": "469",
              "code":"11027"
            },
            {
              "business": "泉州众骋汽车有限公司",
              "id": "470",
              "code":"11889"
            }
          ]
        }
      ]
    },
    {
      "province": "江西",
      "id": "471",
      "city": [
        {
          "city": "南昌",
          "id": "471",
          "business": [
            {
              "business": "大众进口汽车尊享荟（南昌）",
              "id": "471",
              "code":"11887"
            },
            {
              "business": "江西尚腾汽车贸易有限公司",
              "id": "471",
              "code":"11042"
            }
          ]
        },
        {
          "city": "赣州",
          "id": "471",
          "business": [
            {
              "business": "大众进口汽车尊享荟（赣州）",
              "id": "471",
              "code":"12018"
            }
          ]
        }
      ]
    },
    {
      "province": "海南",
      "id": "472",
      "city": [
        {
          "city": "海口",
          "id": "472",
          "business": [
            {
              "business": "海南华众汽车销售服务有限公司",
              "id": "472",
              "code":"11026"
            }
          ]
        }
      ]
    },
    {
      "province": "湖南",
      "id": "473",
      "city": [
        {
          "city": "长沙",
          "id": "473",
          "business": [
            {
              "business": "大众进口汽车尊享荟（长沙）",
              "id": "474",
              "code":"11989"
            },
            {
              "business": "湖南德顺汽车贸易有限公司",
              "id": "473",
              "code":"11024"
            },
            {
              "business": "湖南德熙进口汽车销售服务有限公司",
              "id": "474",
              "code":"11063"
            },
            {
              "business": "湖南韩顺汽车销售服务有限公司",
              "id": "473",
              "code":"12024"
            }
          ]
        },
        {
          "city": "郴州逸",
          "id": "473",
          "business": [
            {
              "business": "郴州逸辰汽车贸易有限公司",
              "id": "473",
              "code":"12013"
            }
          ]
        },
        {
          "city": "株洲",
          "id": "473",
          "business": [
            {
              "business": "株洲德顺汽车贸易有限公司",
              "id": "473",
              "code":"11983"
            }
          ]
        }
      ]
    },
    {
      "province": "广西",
      "id": "475",
      "city": [
        {
          "city": "南宁",
          "id": "475",
          "business": [
            {
              "business": "广西弘德腾锐汽车销售服务有限公司",
              "id": "475",
              "code":"11025"
            }
          ]
        }
      ]
    },
    {
      "province": "四川",
      "id": "477",
      "city": [
        {
          "city": "成都",
          "id": "477",
          "business": [
            {
              "business": "成都新鸿众汽车销售服务有限责任公司",
              "id": "477",
              "code":"11044"
            },
            {
              "business": "成都新进程汽车销售服务有限责任公司",
              "id": "478",
              "code":"11345"
            },
            {
              "business": "四川新双立汽车销售服务有限责任公司",
              "id": "479",
              "code":"11048"
            }
          ]
        },
        {
          "city": "绵阳",
          "id": "480",
          "business": [
            {
              "business": "绵阳新双立汽车销售服务有限责任公司",
              "id": "480",
              "code":"11985"
            }
          ]
        },
        {
          "city": "德阳",
          "id": "480",
          "business": [
            {
              "business": "大众进口汽车尊享荟（德阳）",
              "id": "480",
              "code":"11342"
            }
          ]
        },
        {
          "city": "泸州",
          "id": "480",
          "business": [
            {
              "business": "大众进口汽车尊享荟（泸州）",
              "id": "480",
              "code":"11057"
            }
          ]
        },
        {
          "city": "宜宾",
          "id": "480",
          "business": [
            {
              "business": "大众进口汽车尊享荟（宜宾）",
              "id": "480",
              "code":"11467"
            }
          ]
        },
        {
          "city": "乐山",
          "id": "480",
          "business": [
            {
              "business": "乐山四川新双立汽车销售服务有限责任公司",
              "id": "480",
              "code":"11984"
            }
          ]
        },
        {
          "city": "绵阳",
          "id": "480",
          "business": [
            {
              "business": "绵阳新双立汽车销售服务有限责任公司",
              "id": "480",
              "code":"11985"
            }
          ]
        }
      ]
    },
    {
      "province": "重庆",
      "id": "481",
      "city": [
        {
          "city": "重庆",
          "id": "481",
          "business": [
            {
              "business": "重庆百事达华轩汽车销售服务有限公司",
              "id": "481",
              "code":"11519"
            },
            {
              "business": "重庆百事达华尊汽车销售服务有限公司",
              "id": "482",
              "code":"11996"
            },
            {
              "business": "重庆博众辉锐汽车销售有限公司",
              "id": "483",
              "code":"11521"
            }
          ]
        }
      ]
    },
    {
      "province": "云南",
      "id": "484",
      "city": [
        {
          "city": "昆明",
          "id": "484",
          "business": [
            {
              "business": "云南德众汽车销售服务有限公司",
              "id": "484",
              "code":"11045"
            },
            {
              "business": "云南兴星机电贸易有限公司",
              "id": "485",
              "code":"11520"
            },
            {
              "business": "云南德众汽车销售服务有限公司北市区分公司",
              "id": "485",
              "code":"11084"
            },
            {
              "business": "大众进口汽车尊享荟（昆明）",
              "id": "485",
              "code":"11049"
            }
          ]
        },
        {
          "city": "曲靖",
          "id": "486",
          "business": [
            {
              "business": "曲靖庞大弘锐汽车销售服务有限公司",
              "id": "486",
              "code":"11470"
            }
          ]
        },
        {
          "city": "大理",
          "id": "486",
          "business": [
            {
              "business": "云南德众汽车销售服务有限公司大理分公司",
              "id": "486",
              "code":"11085"
            }
          ]
        }
      ]
    },
    {
      "province": "贵州",
      "id": "487",
      "city": [
        {
          "city": "贵阳",
          "id": "487",
          "business": [
            {
              "business": "大众进口汽车尊享荟（贵阳）",
              "id": "487",
              "code":"11051"
            },
            {
              "business": "贵州新双立汽车销售服务有限责任公司",
              "id": "487",
              "code":"11046"
            }
          ]
        }
      ]
    },
    {
      "province": "陕西",
      "id": "488",
      "city": [
        {
          "city": "西安",
          "id": "488",
          "business": [
            {
              "business": "陕西新丰泰汽车技术开发有限责任公司",
              "id": "488",
              "code":"11505"
            },
            {
              "business": "陕西馨海德宇汽车销售服务有限公司",
              "id": "489",
              "code":"11344"
            }
          ]
        },
        {
          "city": "榆林",
          "id": "488",
          "business": [
            {
              "business": "榆林德泰汽车销售服务有限公司",
              "id": "488",
              "code":"11047"
            }
          ]
        }
      ]
    },
    {
      "province": "新疆",
      "id": "491",
      "city": [
        {
          "city": "乌鲁木齐",
          "id": "491",
          "business": [
            {
              "business": "新疆腾众汽车销售服务有限公司",
              "id": "491",
              "code":"11061"
            },
            {
              "business": "新疆天汇华鑫汽车销售服务有限公司 ",
              "id": "492",
              "code":"11987"
            }
          ]
        }
      ]
    },
    {
      "province": "甘肃",
      "id": "493",
      "city": [
        {
          "city": "兰州",
          "id": "493",
          "business": [
            {
              "business": "兰州金河康汽车销售服务有限公司",
              "id": "493",
              "code":"12037"
            }
          ]
        }
      ]
    },
    {
      "province": "宁夏",
      "id": "494",
      "city": [
        {
          "city": "银川",
          "id": "494",
          "business": [
            {
              "business": "宁夏和众进口汽车销售服务有限公司",
              "id": "494",
              "code":"11050"
            }
          ]
        }
      ]
    },
    {
      "province": "青海",
      "id": "495",
      "city": [
        {
          "city": "西宁",
          "id": "495",
          "business": [
            {
              "business": "青海嘉信汽车销售服务有限公司",
              "id": "495",
              "code":"11075"
            }
          ]
        }
      ]
    },
    {
      "province": "西藏",
      "id": "496",
      "city": [
        {
          "city": "拉萨",
          "id": "496",
          "business": [
            {
              "business": "西藏广汇华创汽车服务有限公司",
              "id": "496",
              "code":"11074"
            }
          ]
        }
      ]
    }
  ]
};
// var cars = {'C':[{"N":"A-阿斯顿·马丁","C":"3849","I":[{"N":"DB9","C":"3850"},{"N":"DBS","C":"3852"},{"N":"Rapide","C":"3854"},{"N":"V12 Vantage","C":"3856"},{"N":"V8 Vantage","C":"3858"},{"N":"Vanquish","C":"3860"},{"N":"Virage","C":"3862"},{"N":"Zagato","C":"3864"},{"N":"其他","C":"3866"}]},{"N":"A-奥迪","C":"3783","I":[{"N":"奥迪SQ5","C":"6213"},{"N":"奥迪RS7","C":"6317"},{"N":"奥迪A3","C":"6274"},{"N":"奥迪A1","C":"3784"},{"N":"奥迪A3两厢","C":"3786"},{"N":"奥迪A3三厢","C":"3788"},{"N":"奥迪A4L","C":"3790"},{"N":"奥迪A4旅行车","C":"3792"},{"N":"奥迪A5敞篷","C":"3794"},{"N":"奥迪A5双门","C":"3796"},{"N":"奥迪A5掀背","C":"3798"},{"N":"奥迪A6","C":"3800"},{"N":"奥迪A6L","C":"3802"},{"N":"奥迪A6混合动力","C":"3804"},{"N":"奥迪A7","C":"3806"},{"N":"奥迪A8L","C":"3808"},{"N":"奥迪A8L混合动力","C":"3810"},{"N":"奥迪Q2","C":"3812"},{"N":"奥迪Q3","C":"3814"},{"N":"奥迪Q5","C":"3816"},{"N":"奥迪Q5混合动力","C":"3818"},{"N":"奥迪Q7","C":"3820"},{"N":"奥迪Q8","C":"3822"},{"N":"奥迪R8","C":"3824"},{"N":"奥迪RS5","C":"3826"},{"N":"奥迪S5敞篷","C":"3828"},{"N":"奥迪S5双门","C":"3830"},{"N":"奥迪S5掀背","C":"3832"},{"N":"奥迪S6","C":"3834"},{"N":"奥迪S7","C":"3836"},{"N":"奥迪S8","C":"3838"},{"N":"奥迪TTS敞篷","C":"3840"},{"N":"奥迪TTS双门","C":"3842"},{"N":"奥迪TT敞篷","C":"3844"},{"N":"奥迪TT双门","C":"3846"},{"N":"其他","C":"3848"}]},{"N":"B-巴博斯","C":"3867","I":[{"N":"巴博斯 CLS级","C":"3868"},{"N":"巴博斯 M级","C":"3870"},{"N":"巴博斯 SLK级","C":"3872"},{"N":"巴博斯 S级","C":"3874"},{"N":"其他","C":"3876"}]},{"N":"B-宝骏汽车","C":"3877","I":[{"N":"宝骏610","C":"6332"},{"N":"宝骏630","C":"3878"},{"N":"乐驰","C":"3880"},{"N":"其他","C":"3882"}]},{"N":"B-宝马","C":"3883","I":[{"N":"宝马4系双门","C":"6168"},{"N":"宝马M4","C":"6382"},{"N":"宝马2系","C":"6275"},{"N":"宝马4系敞篷","C":"6276"},{"N":"宝马4系四门","C":"6333"},{"N":"宝马1系敞篷","C":"3884"},{"N":"宝马1系两厢","C":"3886"},{"N":"宝马1系双门","C":"3888"},{"N":"宝马3系GT","C":"3890"},{"N":"宝马3系敞篷","C":"3892"},{"N":"宝马3系混合动力","C":"3894"},{"N":"宝马3系双门","C":"3896"},{"N":"宝马3系四门","C":"3898"},{"N":"宝马4系","C":"3900"},{"N":"宝马5系GT","C":"3902"},{"N":"宝马5系混合动力","C":"3904"},{"N":"宝马5系旅行车","C":"3906"},{"N":"宝马5系四门","C":"3908"},{"N":"宝马6系敞篷","C":"3910"},{"N":"宝马6系双门","C":"3912"},{"N":"宝马6系四门","C":"3914"},{"N":"宝马7系","C":"3916"},{"N":"宝马7系混合动力","C":"3918"},{"N":"宝马X1","C":"3920"},{"N":"宝马X3","C":"3922"},{"N":"宝马X5","C":"3924"},{"N":"宝马X6","C":"3926"},{"N":"宝马X6混合动力","C":"3928"},{"N":"宝马Z4","C":"3930"},{"N":"宝马1系M","C":"3932"},{"N":"宝马M3敞篷","C":"3934"},{"N":"宝马M3双门","C":"3936"},{"N":"宝马M3四门","C":"3938"},{"N":"宝马M5","C":"3940"},{"N":"宝马M6双门","C":"3942"},{"N":"宝马M6四门","C":"3944"},{"N":"宝马X5 M","C":"3946"},{"N":"宝马X6 M","C":"3948"},{"N":"其他","C":"3950"}]},{"N":"B-保时捷","C":"3951","I":[{"N":"Boxster","C":"3952"},{"N":"Cayman","C":"3954"},{"N":"Macan","C":"3956"},{"N":"Panamera新","C":"3958"},{"N":"保时捷911","C":"3960"},{"N":"卡宴","C":"3962"},{"N":"其他","C":"3964"}]},{"N":"B-北京幻速","C":"6278","I":[{"N":"幻速S2","C":"6279"},{"N":"幻速S3","C":"6280"}]},{"N":"B-北京汽车","C":"3965","I":[{"N":"北京汽车E系列电动","C":"6277"},{"N":"北京汽车E系列两厢","C":"3966"},{"N":"北京汽车E系列三厢","C":"3968"},{"N":"其他","C":"3970"}]},{"N":"B-北汽威旺","C":"3971","I":[{"N":"威旺307","C":"6169"},{"N":"威旺M20","C":"6334"},{"N":"威旺205","C":"3972"},{"N":"威旺306","C":"3974"},{"N":"其他","C":"3976"}]},{"N":"B-北汽制造","C":"3977","I":[{"N":"角斗士","C":"3978"},{"N":"陆霸","C":"3980"},{"N":"陆铃","C":"3982"},{"N":"骑士","C":"3984"},{"N":"锐铃","C":"3986"},{"N":"勇士","C":"3988"},{"N":"域胜007","C":"3990"},{"N":"越铃","C":"3992"},{"N":"战旗","C":"3994"},{"N":"其他","C":"3996"}]},{"N":"B-奔驰","C":"3997","I":[{"N":"奔驰E级双门","C":"6337"},{"N":"奔驰C级长轴","C":"6383"},{"N":"奔驰CLA级","C":"6335"},{"N":"奔驰E级敞篷","C":"6336"},{"N":"奔驰A级AMG","C":"6339"},{"N":"奔驰E级混合动力","C":"6318"},{"N":"奔驰CLA级AMG","C":"6340"},{"N":"奔驰A级","C":"3998"},{"N":"奔驰B级","C":"4000"},{"N":"奔驰CLS级","C":"4002"},{"N":"奔驰C级","C":"4004"},{"N":"奔驰C级旅行车","C":"4006"},{"N":"奔驰E级","C":"4008"},{"N":"奔驰GLK级","C":"4010"},{"N":"奔驰GL级","C":"4012"},{"N":"奔驰G级","C":"4014"},{"N":"奔驰M级","C":"4016"},{"N":"奔驰R级","C":"4018"},{"N":"奔驰SLK级","C":"4020"},{"N":"奔驰SL级","C":"4022"},{"N":"奔驰S级","C":"4024"},{"N":"奔驰S级混合动力","C":"4026"},{"N":"奔驰Viano","C":"4028"},{"N":"斯宾特Sprinter","C":"4030"},{"N":"凌特","C":"4032"},{"N":"威霆","C":"4034"},{"N":"唯雅诺","C":"4036"},{"N":"奔驰CLS级AMG","C":"4038"},{"N":"奔驰C级AMG","C":"4040"},{"N":"奔驰GL级AMG","C":"4042"},{"N":"奔驰G级AMG","C":"4044"},{"N":"奔驰M级AMG","C":"4046"},{"N":"奔驰SLK级AMG","C":"4048"},{"N":"奔驰SLS级AMG","C":"4050"},{"N":"奔驰SL级AMG","C":"4052"},{"N":"奔驰S级AMG","C":"4054"},{"N":"其他","C":"4056"}]},{"N":"B-奔腾","C":"4057","I":[{"N":"奔腾B50","C":"4058"},{"N":"奔腾B70","C":"4060"},{"N":"奔腾B90","C":"4062"},{"N":"奔腾X80","C":"4064"},{"N":"其他","C":"4066"}]},{"N":"B-本田","C":"4067","I":[{"N":"杰德","C":"6112"},{"N":"思域","C":"4068"},{"N":"思域混合动力","C":"4070"},{"N":"飞度","C":"4072"},{"N":"飞度混合动力","C":"4074"},{"N":"艾力绅","C":"4076"},{"N":"本田CR-V","C":"4078"},{"N":"思铂睿","C":"4080"},{"N":"奥德赛","C":"4082"},{"N":"锋范","C":"4084"},{"N":"歌诗图","C":"4086"},{"N":"凌派","C":"4088"},{"N":"雅阁","C":"4090"},{"N":"其他","C":"4092"},{"N":"本田CR-Z","C":"4094"},{"N":"本田Insight","C":"4096"},{"N":"其他","C":"4098"}]},{"N":"B-比亚迪汽车","C":"4165","I":[{"N":"比亚迪F0","C":"4166"},{"N":"比亚迪F3","C":"4168"},{"N":"比亚迪F3DM","C":"4170"},{"N":"比亚迪F3R","C":"4172"},{"N":"比亚迪F6","C":"4174"},{"N":"比亚迪G3","C":"4176"},{"N":"比亚迪G3R","C":"4178"},{"N":"比亚迪G6","C":"4180"},{"N":"比亚迪L3","C":"4182"},{"N":"比亚迪M6","C":"4184"},{"N":"比亚迪S6","C":"4186"},{"N":"比亚迪e6","C":"4188"},{"N":"思锐","C":"4190"},{"N":"速锐新","C":"4192"},{"N":"其他","C":"4194"},{"N":"秦","C":"6214"},{"N":"速锐","C":"6281"}]},{"N":"B-标致","C":"4099","I":[{"N":"标致301","C":"6170"},{"N":"标致2008","C":"6341"},{"N":"CROSS 207","C":"4100"},{"N":"CROSS 307","C":"4102"},{"N":"标致207两厢","C":"4104"},{"N":"标致207三厢","C":"4106"},{"N":"标致207CC","C":"4108"},{"N":"标致307两厢","C":"4110"},{"N":"标致307三厢","C":"4112"},{"N":"标致308","C":"4114"},{"N":"标致308CC","C":"4116"},{"N":"标致308SW","C":"4118"},{"N":"标致408","C":"4120"},{"N":"标致508","C":"4122"},{"N":"标致3008","C":"4124"},{"N":"标致3008","C":"4126"},{"N":"标致4008","C":"4128"},{"N":"标致RCZ","C":"4130"},{"N":"其他","C":"4132"}]},{"N":"B-别克","C":"4133","I":[{"N":"昂科拉","C":"4134"},{"N":"别克GL8豪华商务","C":"4136"},{"N":"别克GL8商务","C":"4138"},{"N":"君威","C":"4140"},{"N":"君威GS","C":"4142"},{"N":"君越","C":"4144"},{"N":"君越eAssist","C":"4146"},{"N":"凯越","C":"4148"},{"N":"林荫大道","C":"4150"},{"N":"英朗GT","C":"4152"},{"N":"英朗XT","C":"4154"},{"N":"昂科雷","C":"4156"},{"N":"其他","C":"4158"}]},{"N":"B-宾利","C":"4159","I":[{"N":"飞驰","C":"4160"},{"N":"慕尚","C":"4162"},{"N":"其他","C":"4164"}]},{"N":"B-布加迪","C":"4195","I":[{"N":"威航","C":"4196"},{"N":"其他","C":"4198"}]},{"N":"C-昌河汽车","C":"4265","I":[{"N":"爱迪尔","C":"4266"},{"N":"福瑞达","C":"4268"},{"N":"福运","C":"4270"},{"N":"其他","C":"4272"}]},{"N":"C-长安乘用车","C":"4199","I":[{"N":"奔奔LOVE","C":"4200"},{"N":"奔奔MINI","C":"4202"},{"N":"长安CS35","C":"4204"},{"N":"长安CX20","C":"4206"},{"N":"长安CX30三厢","C":"4208"},{"N":"逸动","C":"4210"},{"N":"悦翔V3","C":"4212"},{"N":"悦翔V5","C":"4214"},{"N":"悦翔两厢","C":"4216"},{"N":"悦翔三厢","C":"4218"},{"N":"睿骋","C":"4220"},{"N":"其他","C":"4222"},{"N":"奔奔","C":"6282"},{"N":"长安CS75","C":"6342"},{"N":"奔奔IMT","C":"6384"}]},{"N":"C-长安商用车","C":"4223","I":[{"N":"长安金牛星","C":"4224"},{"N":"长安欧诺","C":"4226"},{"N":"长安神骐","C":"4228"},{"N":"长安小卡","C":"4230"},{"N":"长安星光","C":"4232"},{"N":"长安星卡","C":"4234"},{"N":"长安之星","C":"4236"},{"N":"长安之星S460","C":"4238"},{"N":"欧力威","C":"4240"},{"N":"其他","C":"4242"},{"N":"尊行","C":"6344"},{"N":"睿行","C":"6343"}]},{"N":"C-长城汽车","C":"4243","I":[{"N":"长城C20R","C":"4244"},{"N":"长城C30","C":"4246"},{"N":"长城C50","C":"4248"},{"N":"长城M2","C":"4250"},{"N":"长城M4","C":"4252"},{"N":"长城V80","C":"4254"},{"N":"风骏3","C":"4256"},{"N":"风骏5新","C":"4258"},{"N":"金迪尔","C":"4260"},{"N":"炫丽CROSS","C":"4262"},{"N":"其他","C":"4264"},{"N":"风骏6","C":"6345"}]},{"N":"D-DS","C":"4451","I":[{"N":"DS3","C":"4452"},{"N":"DS4","C":"4454"},{"N":"DS5","C":"4456"},{"N":"其他","C":"4458"},{"N":"DS 5LS","C":"6284"}]},{"N":"D-大众·进口大众","C":"4331","I":[{"N":"Tiguan","C":"4332"},{"N":"Tiguan R-line","C":"4334"},{"N":"CC","C":"4336"},{"N":"CC R-line","C":"4338"},{"N":"EOS","C":"4340"},{"N":"R36","C":"4342"},{"N":"R36旅行版","C":"4344"},{"N":"GTI（MK5）","C":"4346"},{"N":"高尔夫R","C":"4348"},{"N":"高尔夫GTI运动型敞篷","C":"4350"},{"N":"高尔夫运动型敞篷","C":"4352"},{"N":"高尔夫旅行轿车","C":"4354"},{"N":"Cross Golf","C":"4356"},{"N":"辉腾","C":"4358"},{"N":"辉腾柏秋纳·弗洛版","C":"4360"},{"N":"甲壳虫","C":"4362"},{"N":"新甲壳虫","C":"4364"},{"N":"甲壳虫Fender","C":"4366"},{"N":"甲壳虫R-line","C":"4368"},{"N":"迈特威多功能商务车","C":"4370"},{"N":"迈腾旅行车","C":"4372"},{"N":"迈腾四驱旅行车","C":"4374"},{"N":"尚酷","C":"4376"},{"N":"尚酷R","C":"4378"},{"N":"尚酷GTS","C":"4380"},{"N":"途锐汽油版","C":"4382"},{"N":"途锐柴油版","C":"4384"},{"N":"途锐混合动力","C":"4386"},{"N":"途锐R-line","C":"4388"},{"N":"途锐十周年限量版","C":"4390"},{"N":"夏朗","C":"4392"},{"N":"其他","C":"4394"},{"N":"凯路威","C":"6283"}]},{"N":"D-大众·上海大众","C":"4279","I":[{"N":"Cross Polo","C":"4280"},{"N":"Polo GTI","C":"4282"},{"N":"Polo","C":"4284"},{"N":"朗行","C":"4286"},{"N":"朗逸","C":"4288"},{"N":"新朗逸","C":"4290"},{"N":"帕萨特","C":"4292"},{"N":"新帕萨特","C":"4294"},{"N":"桑塔纳","C":"4296"},{"N":"新桑塔纳","C":"4298"},{"N":"桑塔纳志俊","C":"4300"},{"N":"途安","C":"4302"},{"N":"途观","C":"4304"},{"N":"新途观","C":"4306"},{"N":"其他","C":"4308"},{"N":"朗境","C":"6171"},{"N":"NMC","C":"6385"}]},{"N":"D-大众·一汽大众","C":"4309","I":[{"N":"宝来","C":"4310"},{"N":"新宝来","C":"4312"},{"N":"CC","C":"4314"},{"N":"高尔夫","C":"4316"},{"N":"高尔夫GTI","C":"4318"},{"N":"捷达","C":"4320"},{"N":"新捷达","C":"4322"},{"N":"迈腾","C":"4324"},{"N":"速腾","C":"4326"},{"N":"速腾GLI","C":"4328"},{"N":"其他","C":"4330"}]},{"N":"D-道奇","C":"4273","I":[{"N":"公羊","C":"4274"},{"N":"酷威","C":"4276"},{"N":"其他","C":"4278"}]},{"N":"D-东风风度","C":"4401","I":[{"N":"奥丁新","C":"4402"},{"N":"锐骐多功能商用车","C":"4404"},{"N":"锐骐皮卡","C":"4406"},{"N":"帅客","C":"4408"},{"N":"御轩","C":"4410"},{"N":"其他","C":"4412"},{"N":"俊风","C":"6172"}]},{"N":"D-东风风神","C":"4413","I":[{"N":"东风风神A60","C":"4414"},{"N":"东风风神H30 CROSS","C":"4416"},{"N":"东风风神S30","C":"4418"},{"N":"其他","C":"4420"}]},{"N":"D-东风汽车","C":"4395","I":[{"N":"俊风CV03","C":"4396"},{"N":"御风","C":"4398"},{"N":"其他","C":"4400"}]},{"N":"D-东风小康","C":"4421","I":[{"N":"东风小康C37","C":"4422"},{"N":"东风小康K01","C":"4424"},{"N":"东风小康K07","C":"4426"},{"N":"东风小康K07Ⅱ","C":"4428"},{"N":"东风小康K17","C":"4430"},{"N":"东风小康V07S","C":"4432"},{"N":"东风小康V21","C":"4434"},{"N":"东风小康V27","C":"4436"},{"N":"东风小康V29","C":"4438"},{"N":"其他","C":"4440"},{"N":"风光","C":"6346"}]},{"N":"D-东南汽车","C":"4441","I":[{"N":"V3菱悦","C":"4442"},{"N":"V5菱致","C":"4444"},{"N":"V6菱仕","C":"4446"},{"N":"希旺","C":"4448"},{"N":"其他","C":"4450"},{"N":"得利卡","C":"6215"}]},{"N":"F-法拉利","C":"4459","I":[{"N":"458 Italia","C":"4460"},{"N":"California","C":"4462"},{"N":"F12berlinetta","C":"4464"},{"N":"法拉利599","C":"4466"},{"N":"法拉利612","C":"4468"},{"N":"法拉利FF","C":"4470"},{"N":"其他","C":"4472"}]},{"N":"F-菲亚特","C":"4473","I":[{"N":"菲翔三厢","C":"4474"},{"N":"博悦","C":"4476"},{"N":"菲亚特500","C":"4478"},{"N":"菲亚特500C","C":"4480"},{"N":"菲跃","C":"4482"},{"N":"其他","C":"4484"},{"N":"致悦","C":"6285"}]},{"N":"F-丰田","C":"4485","I":[{"N":"FJ酷路泽","C":"4486"},{"N":"Venza威飒","C":"4488"},{"N":"埃尔法","C":"4490"},{"N":"丰田4Runner","C":"4492"},{"N":"丰田RAV4","C":"4494"},{"N":"丰田海狮","C":"4496"},{"N":"汉兰达","C":"4498"},{"N":"红杉","C":"4500"},{"N":"花冠","C":"4502"},{"N":"皇冠","C":"4504"},{"N":"杰路驰","C":"4506"},{"N":"卡罗拉","C":"4508"},{"N":"凯美瑞","C":"4510"},{"N":"凯美瑞 尊瑞","C":"4512"},{"N":"考斯特","C":"4514"},{"N":"柯斯达","C":"4516"},{"N":"兰德酷路泽","C":"4518"},{"N":"普拉多","C":"4520"},{"N":"普锐斯","C":"4522"},{"N":"普瑞维亚","C":"4524"},{"N":"锐志","C":"4526"},{"N":"塞纳","C":"4528"},{"N":"坦途","C":"4530"},{"N":"威驰","C":"4532"},{"N":"小霸王WISH","C":"4534"},{"N":"雅力士","C":"4536"},{"N":"逸致","C":"4538"},{"N":"其他","C":"4540"},{"N":"YARiS L 致炫","C":"6173"}]},{"N":"F-风行","C":"4541","I":[{"N":"景逸","C":"4542"},{"N":"景逸SUV","C":"4544"},{"N":"菱智","C":"4546"},{"N":"其他","C":"4548"},{"N":"风行CM7","C":"6347"}]},{"N":"F-福迪汽车","C":"4549","I":[{"N":"探索者6","C":"4550"},{"N":"探索者II","C":"4552"},{"N":"探索者III","C":"4554"},{"N":"小超人","C":"4556"},{"N":"雄狮","C":"4558"},{"N":"雄狮F16","C":"4560"},{"N":"其他","C":"4562"}]},{"N":"F-福特","C":"4563","I":[{"N":"S-MAX","C":"4564"},{"N":"福克斯ST","C":"4566"},{"N":"福特E","C":"4568"},{"N":"福特F","C":"4570"},{"N":"嘉年华ST","C":"4572"},{"N":"嘉年华两厢","C":"4574"},{"N":"嘉年华三厢","C":"4576"},{"N":"江铃福特","C":"4578"},{"N":"经典福克斯两厢","C":"4580"},{"N":"经典福克斯三厢","C":"4582"},{"N":"经典全顺","C":"4584"},{"N":"锐界EDGE","C":"4586"},{"N":"探险者","C":"4588"},{"N":"新福克斯两厢","C":"4590"},{"N":"新福克斯三厢","C":"4592"},{"N":"新世代全顺","C":"4594"},{"N":"野马","C":"4596"},{"N":"翼搏","C":"4598"},{"N":"翼虎","C":"4600"},{"N":"致胜","C":"4602"},{"N":"其他","C":"4604"}]},{"N":"F-福田汽车","C":"4605","I":[{"N":"MP-X蒙派克","C":"4606"},{"N":"奥铃CTX","C":"4608"},{"N":"奥铃TX","C":"4610"},{"N":"奥铃捷运","C":"4612"},{"N":"风景","C":"4614"},{"N":"风景快运","C":"4616"},{"N":"蒙派克S","C":"4618"},{"N":"迷迪","C":"4620"},{"N":"萨普","C":"4622"},{"N":"拓陆者","C":"4624"},{"N":"其他","C":"4626"},{"N":"风景G7","C":"6348"}]},{"N":"G-GMC","C":"4627","I":[{"N":"GMC3500","C":"4628"},{"N":"商务之星","C":"4630"},{"N":"其他","C":"4632"}]},{"N":"G-观致","C":"6174","I":[{"N":"观致3轿车","C":"6175"},{"N":"观致3五门","C":"6319"}]},{"N":"G-光冈自动车","C":"4633","I":[{"N":"Galue嘉路","C":"4634"},{"N":"Himiko女王","C":"4636"},{"N":"大蛇","C":"4638"},{"N":"其他","C":"4640"}]},{"N":"G-广汽乘用车","C":"4641","I":[{"N":"传祺GA3S视界","C":"6386"},{"N":"传祺GA3","C":"4642"},{"N":"传祺GA5","C":"4644"},{"N":"传祺GS5","C":"4646"},{"N":"其他","C":"4648"}]},{"N":"G-广汽吉奥","C":"4649","I":[{"N":"奥轩G3","C":"4650"},{"N":"奥轩G5","C":"4652"},{"N":"奥轩GX5","C":"4654"},{"N":"财运100","C":"4656"},{"N":"财运300","C":"4658"},{"N":"财运500","C":"4660"},{"N":"星旺","C":"4662"},{"N":"星旺CL","C":"4664"},{"N":"星旺L","C":"4666"},{"N":"星旺M1","C":"4668"},{"N":"星旺M2","C":"4670"},{"N":"其他","C":"4672"},{"N":"星朗","C":"6349"},{"N":"E美","C":"6350"}]},{"N":"H-哈飞汽车","C":"4673","I":[{"N":"哈飞路宝","C":"4674"},{"N":"骏意","C":"4676"},{"N":"路尊大霸王","C":"4678"},{"N":"路尊小霸王","C":"4680"},{"N":"民意","C":"4682"},{"N":"赛豹","C":"4684"},{"N":"赛马","C":"4686"},{"N":"中意V5","C":"4688"},{"N":"其他","C":"4690"}]},{"N":"H-哈弗汽车","C":"4691","I":[{"N":"哈弗H8","C":"6176"},{"N":"哈弗H5","C":"4692"},{"N":"哈弗H6","C":"4694"},{"N":"哈弗·派","C":"4696"},{"N":"其他","C":"4698"},{"N":"哈弗H2","C":"6351"}]},{"N":"H-海格汽车","C":"4699","I":[{"N":"海格H5V","C":"6216"},{"N":"海格大海狮","C":"4700"},{"N":"龙威","C":"4702"},{"N":"御骏","C":"4704"},{"N":"其他","C":"4706"}]},{"N":"H-海马汽车","C":"4707","I":[{"N":"海马M8","C":"6217"},{"N":"福美来M5","C":"6352"},{"N":"福美来","C":"4708"},{"N":"福美来VS","C":"4710"},{"N":"海福星","C":"4712"},{"N":"海马M3","C":"4714"},{"N":"海马S7","C":"4716"},{"N":"海马骑士","C":"4718"},{"N":"普力马","C":"4720"},{"N":"丘比特","C":"4722"},{"N":"其他","C":"4724"},{"N":"海马S5","C":"6353"}]},{"N":"H-海马郑州","C":"4725","I":[{"N":"福仕达","C":"4726"},{"N":"海马爱尚","C":"4728"},{"N":"海马王子","C":"4730"},{"N":"其他","C":"4732"}]},{"N":"H-悍马","C":"4733","I":[{"N":"悍马H2","C":"4734"},{"N":"悍马H3","C":"4736"},{"N":"其他","C":"4738"}]},{"N":"H-恒天汽车","C":"4739","I":[{"N":"途腾T1","C":"4740"},{"N":"途腾T2","C":"4742"},{"N":"途腾T3","C":"4744"},{"N":"其他","C":"4746"}]},{"N":"H-红旗","C":"4747","I":[{"N":"红旗H7","C":"4748"},{"N":"红旗盛世","C":"4750"},{"N":"其他","C":"4752"}]},{"N":"H-华普汽车","C":"4769","I":[{"N":"海景","C":"4770"},{"N":"海悦","C":"4772"},{"N":"其他","C":"4774"}]},{"N":"H-华泰汽车","C":"4775","I":[{"N":"宝利格","C":"4776"},{"N":"华泰B11","C":"4778"},{"N":"路盛E70","C":"4780"},{"N":"圣达菲","C":"4782"},{"N":"特拉卡","C":"4784"},{"N":"其他","C":"4786"}]},{"N":"H-黄海汽车","C":"4753","I":[{"N":"翱龙","C":"4754"},{"N":"傲骏","C":"4756"},{"N":"大柴神","C":"4758"},{"N":"旗胜F1","C":"4760"},{"N":"旗胜V3","C":"4762"},{"N":"挑战者","C":"4764"},{"N":"小柴神","C":"4766"},{"N":"其他","C":"4768"}]},{"N":"H-汇众","C":"4787","I":[{"N":"伊思坦纳","C":"4788"},{"N":"其他","C":"4790"}]},{"N":"J-Jeep","C":"4791","I":[{"N":"自由光","C":"6261"},{"N":"大切诺基 SRT","C":"4792"},{"N":"大切诺基","C":"4794"},{"N":"牧马人","C":"4796"},{"N":"指南者","C":"4798"},{"N":"自由客","C":"4800"},{"N":"其他","C":"4802"}]},{"N":"J-吉利帝豪","C":"4861","I":[{"N":"吉利帝豪EC7","C":"4862"},{"N":"吉利帝豪EC7-RV","C":"4864"},{"N":"吉利帝豪EC8","C":"4866"},{"N":"其他","C":"4868"}]},{"N":"J-吉利全球鹰","C":"4869","I":[{"N":"吉利全球鹰GC7","C":"4870"},{"N":"吉利全球鹰GX2","C":"4872"},{"N":"吉利全球鹰GX7","C":"4874"},{"N":"吉利全球鹰熊猫","C":"4876"},{"N":"吉利全球鹰远景","C":"4878"},{"N":"吉利全球鹰自由舰","C":"4880"},{"N":"其他","C":"4882"},{"N":"吉利全球鹰熊猫CROSS","C":"6290"}]},{"N":"J-吉利英伦","C":"4883","I":[{"N":"吉利英伦金刚两厢","C":"6355"},{"N":"吉利英伦SC3","C":"4884"},{"N":"吉利英伦SC5-RV","C":"4886"},{"N":"吉利英伦SC6","C":"4888"},{"N":"吉利英伦SC7","C":"4890"},{"N":"吉利英伦SX7","C":"4892"},{"N":"吉利英伦TX4","C":"4894"},{"N":"吉利英伦金刚三厢","C":"4896"},{"N":"吉利英伦金鹰CROSS","C":"4898"},{"N":"其他","C":"4900"}]},{"N":"J-江淮汽车","C":"4803","I":[{"N":"和悦A30","C":"6177"},{"N":"悦悦J2","C":"6354"},{"N":"宾悦","C":"4804"},{"N":"和悦","C":"4806"},{"N":"和悦RS","C":"4808"},{"N":"瑞风","C":"4810"},{"N":"瑞风M5","C":"4812"},{"N":"瑞风S5","C":"4814"},{"N":"瑞铃","C":"4816"},{"N":"瑞鹰","C":"4818"},{"N":"同悦","C":"4820"},{"N":"同悦CROSS","C":"4822"},{"N":"同悦RS","C":"4824"},{"N":"星锐","C":"4826"},{"N":"悦悦","C":"4828"},{"N":"悦悦CROSS","C":"4830"},{"N":"其他","C":"4832"},{"N":"和悦iEV","C":"6286"},{"N":"和悦A13","C":"6287"},{"N":"和悦A13 CROSS","C":"6288"},{"N":"和悦A13 RS","C":"6289"}]},{"N":"J-江铃汽车","C":"4833","I":[{"N":"宝典","C":"4834"},{"N":"宝威","C":"4836"},{"N":"凯锐","C":"4838"},{"N":"凯威","C":"4840"},{"N":"凯运","C":"4842"},{"N":"顺达","C":"4844"},{"N":"域虎","C":"4846"},{"N":"驭胜S350","C":"4848"},{"N":"其他","C":"4850"}]},{"N":"J-捷豹","C":"4851","I":[{"N":"捷豹F-TYPE","C":"4852"},{"N":"捷豹XF","C":"4854"},{"N":"捷豹XJ","C":"4856"},{"N":"捷豹XK","C":"4858"},{"N":"其他","C":"4860"}]},{"N":"J-金杯","C":"4901","I":[{"N":"大海狮新","C":"4902"},{"N":"大力神","C":"4904"},{"N":"阁瑞斯","C":"4906"},{"N":"海狮","C":"4908"},{"N":"海星","C":"4910"},{"N":"金杯S50","C":"4912"},{"N":"金典","C":"4914"},{"N":"智尚S30","C":"4916"},{"N":"其他","C":"4918"},{"N":"新海狮","C":"6291"}]},{"N":"J-金龙","C":"6178","I":[{"N":"金威","C":"6179"},{"N":"凯歌","C":"6180"}]},{"N":"K-KTM","C":"6292","I":[{"N":"X-BOW","C":"6293"}]},{"N":"K-卡尔森","C":"4919","I":[{"N":"卡尔森C","C":"4920"},{"N":"卡尔森CGL","C":"4922"},{"N":"卡尔森CS","C":"4924"},{"N":"其他","C":"4926"}]},{"N":"K-开瑞","C":"4941","I":[{"N":"优劲","C":"4942"},{"N":"优胜","C":"4944"},{"N":"优雅","C":"4946"},{"N":"优雅II新","C":"4948"},{"N":"优优","C":"4950"},{"N":"优优II","C":"4952"},{"N":"其他","C":"4954"}]},{"N":"K-凯迪拉克","C":"4927","I":[{"N":"凯迪拉克ATS","C":"6181"},{"N":"SLS赛威","C":"4928"},{"N":"凯迪拉克XTS","C":"4930"},{"N":"凯迪拉克CTS","C":"4932"},{"N":"凯迪拉克CTS双门","C":"4934"},{"N":"凯迪拉克SRX","C":"4936"},{"N":"凯雷德","C":"4938"},{"N":"其他","C":"4940"},{"N":"凯迪拉克ATS-L","C":"6387"}]},{"N":"K-柯尼塞格","C":"4963","I":[{"N":"Agera","C":"4964"},{"N":"柯尼塞格CCXR","C":"4966"},{"N":"其他","C":"4968"}]},{"N":"K-克莱斯勒","C":"4955","I":[{"N":"大捷龙","C":"4956"},{"N":"城乡","C":"4958"},{"N":"克莱斯勒300C","C":"4960"},{"N":"其他","C":"4962"}]},{"N":"K-兰博基尼","C":"4969","I":[{"N":"Aventador","C":"4970"},{"N":"Gallardo","C":"4972"},{"N":"Reventon","C":"4974"},{"N":"其他","C":"4976"}]},{"N":"L-劳伦士","C":"4977","I":[{"N":"劳伦士M级","C":"4978"},{"N":"劳伦士S级","C":"4980"},{"N":"其他","C":"4982"}]},{"N":"L-劳斯莱斯","C":"4983","I":[{"N":"魅影","C":"6262"},{"N":"古思特","C":"4984"},{"N":"幻影","C":"4986"},{"N":"其他","C":"4988"}]},{"N":"L-雷克萨斯","C":"4989","I":[{"N":"雷克萨斯CT","C":"4990"},{"N":"雷克萨斯ES","C":"4992"},{"N":"雷克萨斯ES混合动力","C":"4994"},{"N":"雷克萨斯GS","C":"4996"},{"N":"雷克萨斯GS混合动力","C":"4998"},{"N":"雷克萨斯GX","C":"5000"},{"N":"雷克萨斯IS","C":"5002"},{"N":"雷克萨斯IS敞篷","C":"5004"},{"N":"雷克萨斯LS","C":"5006"},{"N":"雷克萨斯LS混合动力","C":"5008"},{"N":"雷克萨斯LX","C":"5010"},{"N":"雷克萨斯RX","C":"5012"},{"N":"雷克萨斯RX混合动力","C":"5014"},{"N":"其他","C":"5016"}]},{"N":"L-雷诺","C":"5017","I":[{"N":"大风景","C":"5018"},{"N":"风景","C":"5020"},{"N":"风朗","C":"5022"},{"N":"科雷傲","C":"5024"},{"N":"拉古那","C":"5026"},{"N":"拉古那古贝","C":"5028"},{"N":"梅甘娜","C":"5030"},{"N":"塔利斯曼新","C":"5032"},{"N":"纬度新","C":"5034"},{"N":"其他","C":"5036"}]},{"N":"L-理念","C":"5109","I":[{"N":"理念S1","C":"5110"},{"N":"其他","C":"5112"}]},{"N":"L-力帆汽车","C":"5061","I":[{"N":"丰顺","C":"5062"},{"N":"力帆320","C":"5064"},{"N":"力帆520","C":"5066"},{"N":"力帆520i","C":"5068"},{"N":"力帆620","C":"5070"},{"N":"力帆720","C":"5072"},{"N":"力帆X60","C":"5074"},{"N":"兴顺","C":"5076"},{"N":"其他","C":"5078"},{"N":"力帆330","C":"6358"},{"N":"力帆630","C":"6360"},{"N":"力帆530","C":"6359"}]},{"N":"L-莲花汽车","C":"5037","I":[{"N":"莲花L3两厢","C":"5038"},{"N":"莲花L3三厢","C":"5040"},{"N":"莲花L5","C":"5042"},{"N":"其他","C":"5044"}]},{"N":"L-猎豹汽车","C":"5045","I":[{"N":"飞铃皮卡","C":"5046"},{"N":"飞腾","C":"5048"},{"N":"飞扬皮卡","C":"5050"},{"N":"黑金刚","C":"5052"},{"N":"猎豹CS6","C":"5054"},{"N":"猎豹CT5","C":"5056"},{"N":"猎豹奇兵","C":"5058"},{"N":"其他","C":"5060"},{"N":"飞腾C5","C":"6356"},{"N":"猎豹Q6","C":"6357"}]},{"N":"L-林肯","C":"5113","I":[{"N":"城市","C":"5114"},{"N":"林肯MKS","C":"5116"},{"N":"林肯MKT","C":"5118"},{"N":"林肯MKX","C":"5120"},{"N":"林肯MKZ","C":"5122"},{"N":"领航员","C":"5124"},{"N":"其他","C":"5126"}]},{"N":"L-铃木","C":"5079","I":[{"N":"利亚纳A6两厢","C":"6182"},{"N":"利亚纳A6三厢","C":"6183"},{"N":"锋驭","C":"6218"},{"N":"奥拓","C":"5080"},{"N":"北斗星","C":"5082"},{"N":"超级维特拉","C":"5084"},{"N":"吉姆尼","C":"5086"},{"N":"凯泽西","C":"5088"},{"N":"浪迪","C":"5090"},{"N":"利亚纳两厢","C":"5092"},{"N":"利亚纳三厢","C":"5094"},{"N":"羚羊","C":"5096"},{"N":"派喜","C":"5098"},{"N":"天语SX4两厢","C":"5100"},{"N":"天语SX4三厢","C":"5102"},{"N":"天语尚悦","C":"5104"},{"N":"雨燕","C":"5106"},{"N":"其他","C":"5108"},{"N":"速翼特","C":"6263"}]},{"N":"L-陆风汽车","C":"5127","I":[{"N":"风尚","C":"5128"},{"N":"陆风X5","C":"5130"},{"N":"陆风X6","C":"5132"},{"N":"陆风X8","C":"5134"},{"N":"陆风X9","C":"5136"},{"N":"其他","C":"5138"}]},{"N":"L-路虎","C":"5139","I":[{"N":"发现","C":"5140"},{"N":"揽胜","C":"5142"},{"N":"揽胜极光","C":"5144"},{"N":"揽胜运动版","C":"5146"},{"N":"神行者","C":"5148"},{"N":"卫士","C":"5150"},{"N":"其他","C":"5152"}]},{"N":"L-路特斯","C":"5153","I":[{"N":"Elise","C":"5154"},{"N":"Evora","C":"5156"},{"N":"Exige","C":"5158"},{"N":"其他","C":"5160"}]},{"N":"M-MG","C":"5205","I":[{"N":"MG3","C":"5206"},{"N":"MG3 Xross","C":"5208"},{"N":"MG5","C":"5210"},{"N":"MG6三厢","C":"5212"},{"N":"MG6掀背","C":"5214"},{"N":"MG7","C":"5216"},{"N":"其他","C":"5218"}]},{"N":"M-MINI","C":"5219","I":[{"N":"MINI","C":"5220"},{"N":"MINI CABRIO","C":"5222"},{"N":"MINI CLUBMAN","C":"5224"},{"N":"MINI COUNTRYMAN","C":"5226"},{"N":"MINI COUPE","C":"5228"},{"N":"MINI PACEMAN","C":"5230"},{"N":"MINI ROADSTER","C":"5232"},{"N":"MINI JCW","C":"5234"},{"N":"MINI JCW CLUBMAN","C":"5236"},{"N":"MINI JCW COUNTRYMA","C":"5238"},{"N":"MINI JCW COUPE","C":"5240"},{"N":"MINI JCW PACEMAN","C":"5242"},{"N":"其他","C":"5244"}]},{"N":"M-马自达","C":"5173","I":[{"N":"ATENZA","C":"5174"},{"N":"马自达2","C":"5176"},{"N":"马自达2三厢","C":"5178"},{"N":"马自达3","C":"5180"},{"N":"马自达3星骋两厢","C":"5182"},{"N":"马自达3星骋三厢","C":"5184"},{"N":"马自达5","C":"5186"},{"N":"马自达6","C":"5188"},{"N":"马自达8","C":"5190"},{"N":"马自达CX-5","C":"5192"},{"N":"马自达CX-7","C":"5194"},{"N":"马自达CX-9","C":"5196"},{"N":"马自达MX-5","C":"5198"},{"N":"睿翼","C":"5200"},{"N":"睿翼轿跑","C":"5202"},{"N":"其他","C":"5204"},{"N":"昂克赛拉三厢","C":"6361"}]},{"N":"M-玛莎拉蒂","C":"5165","I":[{"N":"GranCabrio","C":"5166"},{"N":"玛莎拉蒂GT","C":"5168"},{"N":"总裁","C":"5170"},{"N":"其他","C":"5172"}]},{"N":"M-迈巴赫","C":"5161","I":[{"N":"迈巴赫","C":"5162"},{"N":"其他","C":"5164"}]},{"N":"M-迈凯伦","C":"6362","I":[{"N":"迈凯伦650S","C":"6363"}]},{"N":"M-摩根","C":"5245","I":[{"N":"摩根4-4","C":"5246"},{"N":"摩根Aero","C":"5248"},{"N":"摩根Plus 8","C":"5250"},{"N":"摩根Roadster","C":"5252"},{"N":"其他","C":"5254"}]},{"N":"N-纳智捷","C":"5255","I":[{"N":"MASTER CEO","C":"5256"},{"N":"大7 MPV","C":"5258"},{"N":"大7 SUV","C":"5260"},{"N":"纳智捷 5 Sedan新","C":"5262"},{"N":"其他","C":"5264"},{"N":"优6 SUV","C":"6364"}]},{"N":"O-讴歌","C":"5279","I":[{"N":"讴歌ILX","C":"5280"},{"N":"讴歌MDX","C":"5282"},{"N":"讴歌RDX","C":"5284"},{"N":"讴歌RLX","C":"5286"},{"N":"讴歌TL","C":"5288"},{"N":"讴歌ZDX","C":"5290"},{"N":"其他","C":"5292"}]},{"N":"O-欧宝","C":"5265","I":[{"N":"麦瑞纳","C":"6113"},{"N":"安德拉","C":"5266"},{"N":"赛飞利","C":"5268"},{"N":"雅特敞篷","C":"5270"},{"N":"雅特两厢","C":"5272"},{"N":"雅特三厢","C":"5274"},{"N":"英速亚","C":"5276"},{"N":"其他","C":"5278"}]},{"N":"O-欧朗","C":"5293","I":[{"N":"欧朗两厢","C":"6219"},{"N":"欧朗三厢","C":"6220"},{"N":"欧朗","C":"5294"},{"N":"其他","C":"5296"}]},{"N":"Q-奇瑞汽车","C":"5303","I":[{"N":"奇瑞E3","C":"6114"},{"N":"艾瑞泽7","C":"5304"},{"N":"东方之子","C":"5306"},{"N":"东方之子Cross","C":"5308"},{"N":"风云2两厢","C":"5310"},{"N":"风云2三厢","C":"5312"},{"N":"奇瑞A1","C":"5314"},{"N":"奇瑞A3两厢","C":"5316"},{"N":"奇瑞A3三厢","C":"5318"},{"N":"奇瑞A5","C":"5320"},{"N":"奇瑞E5","C":"5322"},{"N":"奇瑞QQ","C":"5324"},{"N":"奇瑞QQ3","C":"5326"},{"N":"奇瑞QQ3 EV","C":"5328"},{"N":"奇瑞QQme","C":"5330"},{"N":"奇瑞X1","C":"5332"},{"N":"奇瑞爱卡","C":"5334"},{"N":"旗云1","C":"5336"},{"N":"旗云2","C":"5338"},{"N":"旗云3","C":"5340"},{"N":"旗云5","C":"5342"},{"N":"瑞虎","C":"5344"},{"N":"其他","C":"5346"},{"N":"瑞虎3","C":"6366"}]},{"N":"Q-启辰","C":"5297","I":[{"N":"启辰R50X","C":"6365"},{"N":"启辰D50","C":"5298"},{"N":"启辰R50","C":"5300"},{"N":"其他","C":"5302"}]},{"N":"Q-启腾","C":"6264","I":[{"N":"启腾M70","C":"6265"}]},{"N":"Q-起亚","C":"5347","I":[{"N":"福瑞迪","C":"5348"},{"N":"起亚K2两厢","C":"5350"},{"N":"起亚K2三厢","C":"5352"},{"N":"起亚K3","C":"5354"},{"N":"起亚K5","C":"5356"},{"N":"锐欧","C":"5358"},{"N":"赛拉图","C":"5360"},{"N":"赛拉图欧风","C":"5362"},{"N":"狮跑","C":"5364"},{"N":"秀尔","C":"5366"},{"N":"智跑","C":"5368"},{"N":"霸锐","C":"5370"},{"N":"凯尊","C":"5372"},{"N":"起亚VQ","C":"5374"},{"N":"起亚VQ-R","C":"5376"},{"N":"速迈","C":"5378"},{"N":"索兰托","C":"5380"},{"N":"新佳乐","C":"5382"},{"N":"其他","C":"5384"},{"N":"起亚K3S","C":"6367"}]},{"N":"R-日产","C":"5385","I":[{"N":"ZN6493多功能车","C":"5386"},{"N":"碧莲","C":"5388"},{"N":"贵士","C":"5390"},{"N":"骊威","C":"5392"},{"N":"楼兰","C":"5394"},{"N":"玛驰","C":"5396"},{"N":"帕拉丁","C":"5398"},{"N":"奇骏","C":"5400"},{"N":"骐达","C":"5402"},{"N":"日产370Z","C":"5404"},{"N":"日产D22皮卡","C":"5406"},{"N":"日产GT-R","C":"5408"},{"N":"日产Juke","C":"5410"},{"N":"日产NV200","C":"5412"},{"N":"天籁","C":"5414"},{"N":"途乐","C":"5416"},{"N":"逍客","C":"5418"},{"N":"新一代轩逸","C":"5420"},{"N":"轩逸经典","C":"5422"},{"N":"阳光","C":"5424"},{"N":"其他","C":"5426"}]},{"N":"R-荣威","C":"5427","I":[{"N":"荣威550混合动力","C":"6221"},{"N":"荣威350","C":"5428"},{"N":"荣威550","C":"5430"},{"N":"荣威750","C":"5432"},{"N":"荣威750混合动力","C":"5434"},{"N":"荣威950","C":"5436"},{"N":"荣威E50","C":"5438"},{"N":"荣威W5","C":"5440"},{"N":"其他","C":"5442"}]},{"N":"R-如虎","C":"5443","I":[{"N":"如虎 CTR 3","C":"5444"},{"N":"如虎 XL","C":"5446"},{"N":"其他","C":"5448"}]},{"N":"R-瑞麒","C":"5449","I":[{"N":"瑞麒G3","C":"5450"},{"N":"瑞麒G5","C":"5452"},{"N":"瑞麒G6","C":"5454"},{"N":"瑞麒M1","C":"5456"},{"N":"瑞麒M5","C":"5458"},{"N":"其他","C":"5460"}]},{"N":"S-Scion","C":"5489","I":[{"N":"Scion FR-S","C":"5490"},{"N":"Scion iQ","C":"5492"},{"N":"Scion tC","C":"5494"},{"N":"Scion xA","C":"5496"},{"N":"Scion xB","C":"5498"},{"N":"Scion xD","C":"5500"},{"N":"其他","C":"5502"}]},{"N":"S-smart","C":"5581","I":[{"N":"smart fortwo电动车","C":"6185"},{"N":"smart fortwo","C":"5582"},{"N":"smart forjeremy","C":"5584"},{"N":"其他","C":"5586"}]},{"N":"S-萨博","C":"5461","I":[{"N":"萨博95","C":"5462"},{"N":"其他","C":"5464"}]},{"N":"S-三菱","C":"5465","I":[{"N":"劲炫ASX","C":"5466"},{"N":"帕杰罗","C":"5468"},{"N":"三菱戈蓝","C":"5470"},{"N":"三菱君阁","C":"5472"},{"N":"三菱蓝瑟","C":"5474"},{"N":"三菱翼神","C":"5476"},{"N":"格蓝迪","C":"5478"},{"N":"蓝瑟翼豪陆神","C":"5480"},{"N":"欧蓝德","C":"5482"},{"N":"帕杰罗新","C":"5484"},{"N":"帕杰罗劲畅","C":"5486"},{"N":"其他","C":"5488"}]},{"N":"S-陕汽通家","C":"5507","I":[{"N":"福家","C":"5508"},{"N":"其他","C":"5510"}]},{"N":"S-上汽商用车","C":"5503","I":[{"N":"上汽大通V80","C":"5504"},{"N":"其他","C":"5506"}]},{"N":"S-绅宝","C":"5511","I":[{"N":"绅宝D50","C":"6368"},{"N":"绅宝","C":"5512"},{"N":"其他","C":"5514"}]},{"N":"S-世爵","C":"5515","I":[{"N":"世爵C8","C":"5516"},{"N":"其他","C":"5518"}]},{"N":"S-首望","C":"5519","I":[{"N":"首望","C":"5520"},{"N":"其他","C":"5522"}]},{"N":"S-双环","C":"5523","I":[{"N":"双环SCEO","C":"5524"},{"N":"小贵族","C":"5526"},{"N":"其他","C":"5528"}]},{"N":"S-双龙","C":"5529","I":[{"N":"爱腾","C":"5530"},{"N":"柯兰多","C":"5532"},{"N":"雷斯特","C":"5534"},{"N":"雷斯特W","C":"5536"},{"N":"享御","C":"5538"},{"N":"主席","C":"5540"},{"N":"其他","C":"5542"}]},{"N":"S-思铭","C":"5577","I":[{"N":"思铭","C":"5578"},{"N":"其他","C":"5580"}]},{"N":"S-斯巴鲁","C":"5543","I":[{"N":"傲虎","C":"5544"},{"N":"驰鹏","C":"5546"},{"N":"力狮","C":"5548"},{"N":"森林人","C":"5550"},{"N":"斯巴鲁BRZ","C":"5552"},{"N":"斯巴鲁XV","C":"5554"},{"N":"翼豹三厢","C":"5556"},{"N":"其他","C":"5558"}]},{"N":"S-斯柯达","C":"5559","I":[{"N":"野帝","C":"6184"},{"N":"昕动","C":"6369"},{"N":"晶锐","C":"5560"},{"N":"晶锐Scout","C":"5562"},{"N":"明锐新","C":"5564"},{"N":"明锐RS","C":"5566"},{"N":"昊锐","C":"5568"},{"N":"昕锐","C":"5570"},{"N":"Superb旅行车","C":"5572"},{"N":"Yeti","C":"5574"},{"N":"其他","C":"5576"}]},{"N":"S-斯派朗","C":"5587","I":[{"N":"斯派朗","C":"5588"},{"N":"其他","C":"5590"}]},{"N":"T-特斯拉","C":"6266","I":[{"N":"MODELS","C":"6267"}]},{"N":"T-腾势","C":"6370","I":[{"N":"腾势","C":"6371"}]},{"N":"W-威麟","C":"5591","I":[{"N":"威麟H3","C":"5592"},{"N":"威麟H5","C":"5594"},{"N":"威麟V5","C":"5596"},{"N":"威麟X5","C":"5598"},{"N":"其他","C":"5600"}]},{"N":"W-威兹曼","C":"5601","I":[{"N":"威兹曼GT","C":"5602"},{"N":"其他","C":"5604"}]},{"N":"W-沃尔沃","C":"5605","I":[{"N":"沃尔沃S60L","C":"6222"},{"N":"沃尔沃S40","C":"5606"},{"N":"沃尔沃S80L","C":"5608"},{"N":"沃尔沃C30","C":"5610"},{"N":"沃尔沃C70","C":"5612"},{"N":"沃尔沃S60","C":"5614"},{"N":"沃尔沃V40","C":"5616"},{"N":"沃尔沃V60","C":"5618"},{"N":"沃尔沃XC60","C":"5620"},{"N":"沃尔沃XC90","C":"5622"},{"N":"其他","C":"5624"},{"N":"沃尔沃V40越界车","C":"6372"}]},{"N":"W-五菱","C":"5625","I":[{"N":"五菱宏光","C":"5626"},{"N":"五菱荣光","C":"5628"},{"N":"五菱荣光小卡","C":"5630"},{"N":"五菱之光","C":"5632"},{"N":"其他","C":"5634"}]},{"N":"W-五十铃","C":"5635","I":[{"N":"五十铃皮卡","C":"5636"},{"N":"其他","C":"5638"}]},{"N":"X-西雅特","C":"5691","I":[{"N":"欧悦搏","C":"5692"},{"N":"西雅特LEON","C":"5694"},{"N":"伊比飒","C":"5696"},{"N":"伊比飒旅行车","C":"5698"},{"N":"其他","C":"5700"}]},{"N":"X-现代","C":"5639","I":[{"N":"名图","C":"6186"},{"N":"i30","C":"5640"},{"N":"ix35","C":"5642"},{"N":"Veloster飞思","C":"5644"},{"N":"格锐","C":"5646"},{"N":"辉翼","C":"5648"},{"N":"朗动","C":"5650"},{"N":"劳恩斯","C":"5652"},{"N":"劳恩斯酷派","C":"5654"},{"N":"领翔","C":"5656"},{"N":"名驭","C":"5658"},{"N":"全新胜达","C":"5662"},{"N":"瑞纳两厢","C":"5664"},{"N":"瑞纳三厢","C":"5666"},{"N":"索纳塔八","C":"5668"},{"N":"维拉克斯","C":"5670"},{"N":"新途胜","C":"5672"},{"N":"雅科仕","C":"5674"},{"N":"雅绅特","C":"5676"},{"N":"雅尊","C":"5678"},{"N":"伊兰特","C":"5680"},{"N":"悦动","C":"5682"},{"N":"其他","C":"5684"},{"N":"瑞奕","C":"6294"},{"N":"Sonata混合动力","C":"6373"},{"N":"捷恩斯","C":"6388"}]},{"N":"X-新凯汽车","C":"5685","I":[{"N":"凯胜1代","C":"5686"},{"N":"凯胜2代","C":"5688"},{"N":"其他","C":"5690"}]},{"N":"X-雪拂兰","C":"5701","I":[{"N":"爱唯欧两厢","C":"5702"},{"N":"爱唯欧三厢新","C":"5704"},{"N":"景程","C":"5706"},{"N":"科鲁兹三厢","C":"5708"},{"N":"科帕奇","C":"5710"},{"N":"迈锐宝","C":"5712"},{"N":"赛欧SPRINGO","C":"5714"},{"N":"赛欧两厢","C":"5716"},{"N":"赛欧三厢","C":"5718"},{"N":"VOLT沃蓝达","C":"5720"},{"N":"爱唯欧","C":"5722"},{"N":"科迈罗","C":"5724"},{"N":"其他","C":"5726"},{"N":"创酷","C":"6374"}]},{"N":"X-雪铁龙","C":"5727","I":[{"N":"C2 Cross","C":"5728"},{"N":"C4 Aircross","C":"5730"},{"N":"爱丽舍","C":"5732"},{"N":"大C4毕加索","C":"5734"},{"N":"凯旋","C":"5736"},{"N":"新世嘉Cross","C":"5738"},{"N":"新世嘉两厢","C":"5740"},{"N":"新世嘉三厢","C":"5742"},{"N":"雪铁龙C2","C":"5744"},{"N":"雪铁龙C4","C":"5746"},{"N":"雪铁龙C4L","C":"5748"},{"N":"雪铁龙C5","C":"5750"},{"N":"其他","C":"5752"},{"N":"新爱丽舍","C":"6115"}]},{"N":"Y-野马","C":"5771","I":[{"N":"野马F10","C":"5772"},{"N":"野马F12","C":"5774"},{"N":"野马F99","C":"5776"},{"N":"其他","C":"5778"}]},{"N":"Y-一汽","C":"5779","I":[{"N":"佳宝T50","C":"5780"},{"N":"佳宝T51","C":"5782"},{"N":"佳宝T57","C":"5784"},{"N":"佳宝V52","C":"5786"},{"N":"佳宝V55","C":"5788"},{"N":"佳宝V70","C":"5790"},{"N":"佳宝V80","C":"5792"},{"N":"森雅M80","C":"5794"},{"N":"森雅S80","C":"5796"},{"N":"坤程","C":"5798"},{"N":"威乐","C":"5800"},{"N":"威志","C":"5802"},{"N":"威志V2","C":"5804"},{"N":"威志V2 CROSS","C":"5806"},{"N":"威志V5","C":"5808"},{"N":"威姿","C":"5810"},{"N":"夏利N5","C":"5812"},{"N":"夏利N7","C":"5814"},{"N":"夏利两厢","C":"5816"},{"N":"夏利三厢","C":"5818"},{"N":"其他","C":"5820"}]},{"N":"Y-依维柯","C":"5821","I":[{"N":"宝迪","C":"5822"},{"N":"得意","C":"5824"},{"N":"都灵","C":"5826"},{"N":"其他","C":"5828"}]},{"N":"Y-英菲尼迪","C":"5753","I":[{"N":"英菲尼迪EX","C":"5754"},{"N":"英菲尼迪FX","C":"5756"},{"N":"英菲尼迪G敞篷","C":"5758"},{"N":"英菲尼迪G双门","C":"5760"},{"N":"英菲尼迪G四门","C":"5762"},{"N":"英菲尼迪JX","C":"5764"},{"N":"英菲尼迪M","C":"5766"},{"N":"英菲尼迪QX","C":"5768"},{"N":"其他","C":"5770"},{"N":"英菲尼迪Q50","C":"6375"},{"N":"英菲尼迪Q50混合动力","C":"6376"},{"N":"英菲尼迪QX60混合动力","C":"6389"}]},{"N":"Y-永源汽车","C":"5829","I":[{"N":"猎鹰","C":"5830"},{"N":"永源A380","C":"5832"},{"N":"永源五星","C":"5834"},{"N":"其他","C":"5836"}]},{"N":"Z-中华","C":"5837","I":[{"N":"中华H230","C":"5838"},{"N":"中华H320","C":"5840"},{"N":"中华H330","C":"5842"},{"N":"中华H530","C":"5844"},{"N":"中华V5","C":"5846"},{"N":"中华骏捷","C":"5848"},{"N":"中华骏捷Cross","C":"5850"},{"N":"中华骏捷FRV","C":"5852"},{"N":"中华骏捷FSV","C":"5854"},{"N":"中华骏捷Wagon","C":"5856"},{"N":"中华酷宝","C":"5858"},{"N":"中华尊驰","C":"5860"},{"N":"其他","C":"5862"},{"N":"中华H220","C":"6187"}]},{"N":"Z-中兴汽车","C":"5883","I":[{"N":"昌铃","C":"5884"},{"N":"旗舰A9","C":"5886"},{"N":"威虎F1","C":"5888"},{"N":"威虎G3","C":"5890"},{"N":"威虎海外版","C":"5892"},{"N":"无限","C":"5894"},{"N":"其他","C":"5896"},{"N":"中兴C3","C":"6224"},{"N":"威虎TUV","C":"6268"}]},{"N":"Z-众泰汽车","C":"5863","I":[{"N":"江南TT","C":"5864"},{"N":"众泰2008","C":"5866"},{"N":"众泰5008","C":"5868"},{"N":"众泰M300","C":"5870"},{"N":"众泰T200","C":"5872"},{"N":"众泰V10","C":"5874"},{"N":"众泰Z200","C":"5876"},{"N":"众泰Z200HB","C":"5878"},{"N":"众泰Z300","C":"5880"},{"N":"其他","C":"5882"},{"N":"众泰Z100","C":"6116"},{"N":"众泰T600","C":"6223"},{"N":"知豆E20","C":"6377"}]}]};
// console.log(dealers);
var postUrl = "resend.php";
var loginInter = "resend-login.php";
// var postUrl =    '/Interface/api/VWWeb/Post';
// var loginInter = '/Interface/api/login/sso';

(function ($, window, document, undefined) {
  $(document).ready(function() {
    // provinces
    $provinces = $('select[name="dealerprovince"]');
//    console.log(dealers.S); //所有的省份数组
    $.each(dealers.S, function(k, v) {
        //将省份数组中的id和名称转换成option标签数据
      $provinces.append($('<option>', { 
        value: v.id, // code
        text : v.province // name
      }));
    });
    
    $provinces.change(function() {
      // load cities
      var code = this.value;
      setCities([]); //先将原先市区里面的东西清空
      //获取所选市区里面的内容
      $.each(dealers.S, function(k, v) {
        if (v.id == code) {
          setCities(v.city);
        }
      });
    });
    
    // cities
    $cities = $('select[name="dealercity"]');
    $cities.change(function() {
      // load dealers
      //先将原先经销商里面的东西清空
      var code = this.value;
      setDealers([]);
      //获取经销商里面的内容
      $.each(dealers.S, function(k, v) {
        if (v.id == $provinces.val()) {
          //console.log(v.I);
          $.each(v.city, function(k2, v2) {
            //console.log(k2, v2);
            if (v2.id== code) {
              setDealers(v2.business);
            }
          });
        }
      });
    });
    
    // dealers
    $dealers = $('select[name="dealer"]');

      /*
    // brands
    $brands = $('select[name="Brand"]');
    $.each(cars.C, function(k, v) {
      $brands.append($('<option>', { 
        value: v.C, // code
        text : v.N // name
      }));
    });
    
    $brands.change(function() {
      // load series
      var code = this.value;
      setSeries([]);
      $.each(cars.C, function(k, v) {
        if (v.C == code) {
          setSeries(v.I);
        }
      });
    });
    
    // series
    $series = $('select[name="Series"]');*/
      
     //if(!$('#container').hasClass('js-mobile')){
     if(!IS_MOBILE){
         // $("select").val({disable_search_threshold: 999});
     }
    	
    //}
    
    
    $("#hasCarYes").click(function() {
      $("#Brand_chosen,#Series_chosen").show();
    });
    
    $("#hasCarNo").click(function() {
      $("#Brand_chosen,#Series_chosen").hide();
    });
    
    $("#drive-form").validate({
      ignore: [],
      rules: {
        "name": {
          required: true,
          minlength: 2
        },
        "sex": {
        	required: true,
        },
        "mobile": {
          required: true,
          number: true,
          minlength: 11
        },
        "email": {
          required: true,
          email: true
        },
        //"buytime": {
        //  required: true
        //},
        //"buybudget": {
        //  required: true
        //},
        "testmodel": {
          required: true
        },
        "dealerprovince": {
          required: true
        },
        "dealercity": {
          required: true
        },
        "dealer": {
          required: true
        },
        /*
        "repassword": {
          equalTo: "#password"
        },
        "policy": {
          required: true
        },*/
      },
      //errorPlacement: function(error, element) {
      //	console.log(error)
      //	var errorTxt = error.text();
      //    if ( element.is(":radio") )
      //        error.appendTo( element.parent().next().next() );
      //    else if ( element.is(":checkbox") )
      //        error.appendTo ( element.next() );
      //    else{
      //    		element.css('background-image', '-webkit-gradient(linear, 0% 0%,0% 100%,from(#6c4078),to(#3c1421))');
      //    }
      //}
      errorElement:'span'
    });
    
    var allowSubmit = true;  
    var ifLogin=false;
    $("#tj").click(function(e) {
        e.preventDefault();
        if (!allowSubmit) return false;
        allowSubmit = false;
        setTimeout(function(){ allowSubmit = true; }, 1000);
        
        $(".chosen-container.error").each(function() {
          $(this).removeClass("error");
        });
  
  
        if ($(".appointment-box").find("input[name='policy']").is(":checked") == false) {
          alert("您需要接受数据保护条款以提交预约试驾");
          return;
        }

      
		//if($('#container').hasClass('js-mobile')){
		//	var carChooesd = 1;
		//}else{
      	var carChooesd = 0;
      	if ($("#hasCarYes").is(':checked') && !IS_MOBILE){
      		var brand = $("select[name='Brand']");
      		var brandVal = brand.val()
      		var series = $("select[name='Series']");
      		var seriesVal = series.val()
      		if(!brandVal){
      			brand.addClass('error')
      			carChooesd = 0;
      		}else{
      			carChooesd = 1;
      		}
      		if(!seriesVal){
      			carChooesd = 0;
      			series.addClass('error')
      		}else{
      			carChooesd = 1;
      		}
      	}else{
      		carChooesd = 1;
      	}

		if(!testTel( $('.appointment-box').find("input[name='mobile']").val() )){
			$("input[name='mobile']").addClass('error').focus();
			return false;
		}

	    if ($("#drive-form").valid() && carChooesd==1 ) {
	      	var appointmentBox = $('.appointment-box');
	        var postField = {
        	"RecordID":getRecordID(),
        	"CustomerName":appointmentBox.find("input[name='name']").val(),
        	"Title":appointmentBox.find("input[name='sex']").val(),
        	"Mobile":appointmentBox.find("input[name='mobile']").val(),
        	"Email":appointmentBox.find("input[name='email']").val(),
        	"Address":'',
        	"PostCode":'',
        	"Province":'',
        	"City":appointmentBox.find("select[name='city']").val(),
        	"VicoBuyTime":appointmentBox.find("select[name='buytime']").val(),
        	"VicoBuyBudget":appointmentBox.find("select[name='buybudget']").val(),
        	"TestModels":appointmentBox.find("select[name='testmodel']").val(),
        	"Source":"Direct",
        	"SourceSub":"",
        	"ChannelSource":"",
        	"siteSource":"campaign website",
        	"IsHaveCar":appointmentBox.find("input[name='hasCar']:checked").val(),
        	"Brand":appointmentBox.find("select[name='Brand'] option:selected").html(),
        	"Series":appointmentBox.find("select[name='Series'] option:selected").html(),
        	"DealerCode":appointmentBox.find("select[name='dealer'] option:selected").val(),
        	"DealerProvince":appointmentBox.find("select[name='dealerprovince'] option:selected").html(),
        	"DealerCity":appointmentBox.find("select[name='dealercity'] option:selected").html(),
        	"CamName":"New_Touareg_Q4_Tactical_Campaign",
        	"Subject":"VW",
        	"Vin":"",
        	"DocumentType":"",
        	"Citizenid":"",
        	"IsRecall":"0",
        	"vicoBrand":"VW轿车",
        	"vicoSeries":appointmentBox.find("select[name='testmodel']").val(),
        	"infoType":1,
        	"AddTime":getTimeFormat(),
        	"WishJoinActivityTime":"",
        	"isCampaignCity":1,
        }
        //if ($("#city").val()!='nochoice'){
        //	postField['WishJoinActivityTime'] = $("#city").find('option:selected').attr('data-time');
        //	postField['City'] = appointmentBox.find("select[name='city']").val()
        //	postField['isCampaignCity'] = 1;
        //}else{
        //	postField['WishJoinActivityTime'] = "";
        //	postField['City'] = "";
        //	postField['isCampaignCity'] = 0;
        //}
        //console.log(postField)
        //subsource
        var subsource = getUrlParam('utm_source');
        var channelsource = getUrlParam('utm_medium');
        postField['SourceSub'] = subsource;
        postField['ChannelSource'] = channelsource;
        postField['siteSource'] = IS_MOBILE?"campaign wapsite":"campaign website";

        //移动版修正规则
        if(IS_MOBILE)	{
        	rules = [
	        	{
	        		Source:'SEM',
	        		SourceSub:"baidu",
	        		ChannelSource:"m_kw"
	        	},
	        	{
	        		Source:'Paid_Media',
	        		SourceSub:"sohunews",
	        		ChannelSource:"banner"
	        	},
	        	{
              Source:'Paid_Media',
              SourceSub:"toutiao",
              ChannelSource:"banner"
            },
            {
              Source:'Paid_Media',
              SourceSub:"tencentnews",
              ChannelSource:"banner"
            },
            {
              Source:'LN_SMS',
              SourceSub:"H5",
              ChannelSource:""
            },
            {
              Source:'Direct',
              SourceSub:"",
              ChannelSource:""
            }
	        ];
        }else{
        	rules = [
	        	{
	        		Source:'SEM',
	        		SourceSub:"baidu",
	        		ChannelSource:"kw"
	        	},
	        	{
	        		Source:'LN_SMS',
	        		SourceSub:"H5",
	        		ChannelSource:""
	        	},
	        	{
	        		Source:'Direct',
	        		SourceSub:"",
	        		ChannelSource:""
	        	}
	        ];
        }

        //console.log(rules);

        //找规则

        for(var i in rules){
        	if(subsource == null){
        		break;
        	}
        	if(subsource.toLowerCase().indexOf( rules[i]["SourceSub"].toLowerCase() )==0){
        		//只判断一个参数
				postField['Source'] = rules[i]['Source'];
        			break;

        		if(rules[i]["ChannelSource"] == ""){
        			postField['Source'] = rules[i]['Source'];
        			break;
        		}
        		if(channelsource == null){
        			break;
        		}
        		if( channelsource.toLowerCase().indexOf( rules[i]["ChannelSource"].toLowerCase() ) == 0 ){
        			postField['Source'] = rules[i]['Source'];
        			break;
        		}

        	}
        }
        console.log(postField);

        // mmConversionTag(679963,this);
        $.ajax({
	    	url: postUrl,
	    	type: 'POST',
	    	dataType: 'json',
	    	data: postField,
	    	success:function(data){
	    		if(data.ResultCode=='0'){
    				$("#float-success").show();
	    			// stopSroll();
	    			// 各种统计代码
	    	// 		trackEvent(GA_tag.layer,"loading","Submit_success");
	    	// 		pyRegisterCvt(postField.Mobile);
	    	// 		(function(){
						// var _py = _py || [];
						// _py.push(['a', 'LS..lpv6nugo71ySxOajZmxnBP']);
						// _py.push(['domain','stats.ipinyou.com']);
						// _py.push(['pv',ifLogin?"1":"2"]); // 1为已注册 2为未注册
						// _py.push(['e','']);
						// -function(d) {
						// 	var s = d.createElement('script'),
						// 	e = d.body.getElementsByTagName('script')[0]; e.parentNode.insertBefore(s, e),
						// 	f = 'https:' == location.protocol;
						// 	s.src = (f ? 'https' : 'http') + '://'+(f?'fm.ipinyou.com':'fm.p0y.cn')+'/j/adv.js';
						// }(document)
	    	// 		})();

	    			// 重置表单
	    			$('.appointment-box').find("form")[0].reset();
        		} else {
        		 	alert('提交失败');
        		}
        	},
        	error:function(){
        		alert('提交失败');
        	}
        })
      } else {
        $("select.error").each(function() {
          $("div#"+$(this).attr("id")+"_chosen").addClass("error");
        });
        $("input.error:first").focus();
      }
    });
    
    $('#loginConfirm').click(function(e){
    	e.preventDefault()
    	var email = $('#login-email').val();
    	var password = $('#login-password').val();
        if(!email || !password){
            alert("请填写完整信息！");
        }else{
            $.ajax({
    		url:loginInter,
    		type: 'POST',
    		dataType: 'json',
    		data: {
    			"email":$("#login-email").val(),
    			"password":$("#login-password").val()
    		},
    		success:function(data){
    			if(data.IsError != false){
    				alert("用户名或密码错误")
    				return false;
    			}
                        
    			$("input[name='email']").val(data.Email);
    			if(data.Result == "TRUE"){
    				ifLogin=true;
    				//名字
    				$("input[name='name']").val(data.Customer.NameSupplement);
    				//性别
    				var gender = data.Customer.Gender;
    				if(gender=="M"){
    					$("#men").attr('checked', true);
    					$("#men").prop('checked', true);
    					$("input[name='sex']").val("先生")
    				}else{
    					$("#women").attr('checked', true);
    					$("#women").prop('checked', true);
    					$("input[name='sex']").val("女士")
    				}
    				//电话
    				$("input[name='mobile']").val(data.CustomerPhoneContact.PhoneNumber);
    			}
    			alert("登陆成功，您的信息已经自动填写");
    		},
    		error:function(){
    			alert("登录失败，请重试")
    		}
    	})
        }
    	
    })
  }); // document.ready
  
})(jQuery, window, document);

function setCities(cities) {      
      $cities.find('option:not(.none)').remove();
//         console.log(cities);
      $.each(cities, function(k, v) {
        $cities.append($('<option>', { 
          value: v.id, // code
          text : v.city // name
        }));
      });
      
      $cities.trigger("chosen:updated");
      
      // update dealers list
      $cities.change();
}
    
 function setDealers(dealers) {      
      $dealers.find('option:not(.none)').remove();
      
      $.each(dealers, function(k, v) {
        $dealers.append($('<option>', { 
          value: v.code, // code
          text : v.business // name
        }));
      });
      $dealers.trigger("chosen:updated");
    }   
   function setSeries(series) {      
      $series.find('option:not(.none)').remove();
      
      $.each(series, function(k, v) {
        $series.append($('<option>', { 
          value: v.C, // code
          text : v.N // name
        }));
      });
      
      $series.trigger("chosen:updated");
    }
    
function getTimeString(){
	var now = new Date;
	var timeStr = now.getFullYear()
	+getReal('Month')
	+getReal('Date')
	+getReal('Hours')
	+getReal('Minutes')
	+getReal('Seconds')
	return timeStr;

	function getReal(type){
		var str = eval('now.get'+type+'().toString()');
		str = (type=='Month'?(++str):str).toString();
		//if(type=='Month')
		////console.log(str)
		if(str.length<2){
			return '0'+str;
		}else{
			return str;
		}
	}
}
function getTimeFormat(){
	var now = new Date;
	var timeStr = now.getFullYear()
	+'-'+getReal('Month')
	+'-'+getReal('Date')
	
	return timeStr;

	function getReal(type){
		var str = eval('now.get'+type+'().toString()');
		str = (type=='Month'?(++str):str).toString();
		//if(type=='Month')
		////console.log(str)
		if(str.length<2){
			return '0'+str;
		}else{
			return str;
		}
	}
}
function getRecordID(){
	return getTimeString()+(parseInt(Math.random()*100)).toString();
}
//console.log(getRecordID())
function getUrlParam(name) {
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
    var r = window.location.search.substr(1).match(reg);  //匹配目标参数
    if (r != null) return unescape(r[2]); return null; //返回参数值
}
function testTel(tel){
	var regex = /^0?(13[0-9]|15[0-9]|18[0-9]|14[0-9]|17[0-9])[0-9]{8}$/;
	return regex.test(tel);
}

function testemail(tel){
    var regex =/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/;
    return regex.test(tel);
}
